| Microsoft Typography | Typography on the Web | Specifying fonts... | 5.2.3 'font-style' | |||
|
Value: normal | italic | oblique
Initial: normal Applies to: all elements Inherited: yes Percentage values: N/A Microsoft® Internet Explorer 3.0 support: partial. Microsoft Internet Explorer 3.0 supports normal and italic values. Microsoft Internet Explorer 4.0 support: yes.
A value of 'normal' selects a font that is classified as 'normal' in the UA's font database, while 'oblique' selects a font that is labeled 'oblique'. A value of 'italic' selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'. The font that is labeled 'oblique' in the UA's font database may actually have been generated by electronically slanting a normal font. Fonts with Oblique, Slanted or Incline in their names will typically be labeled 'oblique' in the UA's font database. Fonts with Italic, Cursive or Kursiv in their names will typically be labeled 'italic'. H1, H2, H3 { font-style: italic }
H1 EM { font-style: normal }
In the example above, emphasized text within 'H1' will appear in a normal face.
Dark blue text is taken from Cascading Style Sheets, level 1. W3C Recommendation 17 December 1996 - http://www.w3.org/pub/WWW/TR/REC-CSS1
|
|||
| Microsoft Typography | Typography on the Web | Specifying fonts... | 5.2.3 'font-style' | |||