What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-css, is-css-property, from-w3c
FontCSSProperty  
The font property is a shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height' and 'font-family'.

You are here: Home > CSS Reference > Properties > font

Usage

Values

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
style.fontStyle reflects <div style='font: bogus'> Y Y Y Y Y Y Y Y
style.fontStyle reflects <div style='font: italic'> N N N N N N Y N
style.fontVariant reflects <div style='font: normal bogus'> Y Y Y Y Y Y Y Y
style.fontStyle reflects <div style='font: normal'> Y Y Y Y Y Y Y Y
style.fontVariant reflects <div style='font: normal normal'> Y Y Y Y Y Y Y Y
style.fontVariant reflects <div style='font: normal small-caps'> N N N N N N Y N
style.fontStyle reflects <div style='font: oblique'> N N N N N N Y N

Further reading


Sign in to add a comment