This page contains some
The following are examples of the CSS text controls: font-size-adjust, font-style, font-weight, text-align, text-indent, text-transform, and word-spacing.
This sentence demonstrates the {font-size-adjust: 0.5;} control in the W3C's CSS specification.
This sentence demonstrates the {font-size-adjust: 1;} control in the W3C's CSS specification.
This sentence demonstrates the {font-size-adjust: 2;} control in the W3C's CSS specification.
This sentence demonstrates the {font-style: normal;} control in the W3C's CSS specification.
This sentence demonstrates the {font-style: italic;} control in the W3C's CSS specification.
This sentence demonstrates the {font-style: oblique;} control in the W3C's CSS specification.
This sentence demonstrates the {font-weight: 100;} control in the W3C's CSS specification.
This sentence demonstrates the {font-weight: normal;} control in the W3C's CSS specification.
This sentence demonstrates the p.fw3 {font-weight: 900;} control in the W3C's CSS specification.
This sentence demonstrates the {text-align: left;} control in the W3C's CSS specification.
This sentence demonstrates the {text-align: center;} control in the W3C's CSS specification.
This sentence demonstrates the {text-align: right;} control in the W3C's CSS specification.
This sentence demonstrates the {text-align: justify;} control in the W3C's CSS specification.
This sentence demonstrates the {text-indent: 0em;} control in the W3C's CSS specification.
This sentence demonstrates the {text-indent: 5em;} control in the W3C's CSS specification.
This sentence demonstrates the {text-indent: 10%;} control in the W3C's CSS specification.
This sentence demonstrates the {text-transform: none;} control in the W3C's CSS specification.
This sentence demonstrates the {text-transform: capitalize;} control in the W3C's CSS specification.
This sentence demonstrates the {text-transform: uppercase;} control in the W3C's CSS specification.
This sentence demonstrates the {text-transform: lowercase;} control in the W3C's CSS specification.
This sentence demonstrates the {word-spacing: -1em;} control in the W3C's CSS specification.
This sentence demonstrates the {word-spacing: 0.5em;} control in the W3C's CSS specification.
This sentence demonstrates the {word-spacing: normal;} control in the W3C's CSS specification.
This sentence demonstrates the {word-spacing: 5em;} control in the W3C's CSS specification.
| Browser and CSS handling success | ||||
|---|---|---|---|---|
| CSS command | Mozilla Firefox 1.5 | Microsoft Internet Explorer 6 | Netscape Browser 8 | Opera 8.52 |
font-size-adjust | Succeeds | Succeeds | Succeeds | Fails |
font-style | Succeeds | Succeeds | Succeeds | Succeeds |
font-weight | Succeeds | Succeeds | Succeeds | Succeeds |
text-align | Succeeds | Succeeds | Succeeds | Succeeds |
text-indent | Succeeds | Succeeds | Succeeds | Succeeds |
text-transform | Succeeds | Succeeds | Succeeds | Succeeds |
word-spacing | Succeeds | Succeeds | Succeeds | Succeeds, but has a lower limit of zero space |