Jump to content


Photo

pleae help advise on css exsplenation cheers.


  • Please log in to reply
3 replies to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 02 October 2006 - 02:18 PM

This information is from the css at w3c under fonts

I need to know is this the correct way to set the values of the font propertys.


Are these elements or propertys dont get it sorry.

caption:
drop-downs:
icon:
menu:
message-box:
small-caption:
status-bar:


example



drop-downs
{
font-family:
"sans-serif";
color: red;
font-weight:
900;
font-size:
x-large;
}


Is it the element i set or do i set the drop-downs to the property and give the dop-downs a value.

or can a user kindly give an example of all the above propertys/elements cheers.

please help cheers.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 02 October 2006 - 03:04 PM

these are values that the attibute font[system-font] can take - as far as I know it is only declareable using the shorthand for font liek so

font: icon normal normal bold .9em/1.6 Verdana, Geneva, Arial, Helvetica, sans-serif;
font: system-font font-style font-variant font-weight font-size/line-height font-family

http://www.w3.org/TR...#font-shorthand will help
follow me on twitter @PHPsycho

#3 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 02 October 2006 - 03:21 PM

Are these elements or propertys dont get it sorry.

caption:
drop-downs:
icon:
menu:
message-box:
small-caption:
status-bar:


As far as I know they aren't.

#4 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 02 October 2006 - 04:04 PM

Thanks ToonMariner there no point for me then to use it as it is a shorthand function only but thank you.

The reason i say no point becouse i am currently designing a css tutoral for short/long sighted users cheers.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users