| Microsoft Typography | Typography on the Web | Specifying fonts... | 5.4.6 'text-align' | |||
|
Value: left | right | center | justify
Initial: UA specific Applies to: block-level elements Inherited: yes Percentage values: N/A Microsoft® Internet Explorer 3.0 support: partial. The 'justify' value is not supported in Microsoft Internet Explorer 3. Microsoft Internet Explorer 4.0 support: yes.
Example: DIV.center { text-align: center }
Since 'text-align' inherits, all block-level elements inside the 'DIV' element with 'CLASS=center' will be centered. Note that alignments are relative to the width of the element, not the canvas. If 'justify' is not supported, the UA will supply a replacement. Typically, this will be 'left' for western languages. CSS1 core: UAs may treat 'justify' as 'left' or 'right', depending on whether the element's default writing direction is left-to-right or right-to-left, respectively.
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.4.6 'text-align' | |||