Jump to content

pleae help advise on css exsplenation cheers.


redarrow

Recommended Posts

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


[code]

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


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.
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

[url=http://www.w3.org/TR/CSS21/fonts.html#font-shorthand]http://www.w3.org/TR/CSS21/fonts.html#font-shorthand[/url] will help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.