CSS Controls and Browser Success

This page contains some


Site links


Page contents


CSS samples

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 tests

Results of browser tests for handling the above-demonstrated CSS commands.
Browser and CSS handling success
CSS commandMozilla Firefox 1.5Microsoft Internet Explorer 6Netscape Browser 8Opera 8.52
font-size-adjustSucceedsSucceedsSucceedsFails
font-styleSucceedsSucceedsSucceedsSucceeds
font-weightSucceedsSucceedsSucceedsSucceeds
text-alignSucceedsSucceedsSucceedsSucceeds
text-indentSucceedsSucceedsSucceedsSucceeds
text-transformSucceedsSucceedsSucceedsSucceeds
word-spacingSucceedsSucceedsSucceedsSucceeds, but has a lower limit of zero space

Author: Andrew H. Lyons <About me>
Last modified: Monday, 27 February 2006 at 20:31 UTC.
Valid XHTML 1.0 ! Valid Cascading Style Sheets!