Jump to content
xisto Community
Sign in to follow this  
Lozbo

Shorthand Css for font

Recommended Posts

What is the order and the syntaxis for the shorthand way of writting the font rules? like font:#000 arial, sans-serif center... etc...Thanks!

Share this post


Link to post
Share on other sites

You don't have to specify all of them but the ones that you do use must be in that order. When specifying font size/line height combinations, you separate them with / e.g. 18px/24px or 83%/140%.

Share this post


Link to post
Share on other sites

is Netscape nav capable of reading shorthand? I've done some stuff with shorthand that looked fine on ie, but when I loaded the same page in Netscape, it looked all sorts of screwey.

Share this post


Link to post
Share on other sites

is Netscape nav capable of reading shorthand?  I've done some stuff with shorthand that looked fine on ie, but when I loaded the same page in Netscape, it looked all sorts of screwey.

196155[/snapback]

I believe there are special hacks for writting cross browser css, to fix some netscape issues, but i dont have right now at hand the code, let me find it and ill post it here.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.