Jump to content

Archived

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

redarrow

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
[quote author=redarrow link=topic=110242.msg445246#msg445246 date=1159798722]
Are these elements or propertys dont get it sorry.

caption:
drop-downs:
icon:
menu:
message-box:
small-caption:
status-bar:
[/quote]

As far as I know they aren't.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

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.