| Microsoft Typography | Typography on the Web | Specifying... | 5.4.3 'text-decoration' | |||
|
Value: none | [ underline || overline || line-through || blink ]
Initial: none Applies to: all elements Inherited: no, but see clarification below Percentage values: N/A Microsoft® Internet Explorer 3.0 support: partial. Blink and overline are not supported in Microsoft Internet Explorer 3. Microsoft Internet Explorer 4.0 support: partial. Blink is not supported in Microsoft Internet Explorer 4.
The color(s) required for the text decoration should be derived from the 'color' property value. This property is not inherited, but elements should match their parent. E.g., if an element is underlined, the line should span the child elements. The color of the underlining will remain the same even if descendant elements have different 'color' values. A:link, A:visited { text-decoration: underline }
The example above would underline the text of all links (i.e., all 'A' elements with a 'HREF' attribute). UAs must recognize the keyword 'blink', but are not required to support the blink effect.
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... | 5.4.3 'text-decoration' | |||