Jump to content

pleae help advise on css exsplenation cheers.


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
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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