copyright © CSSPG, lud February 28 1999


 for practical use of CSS

CSS Example: Justified Text

this document is located at...
<URI:http://css.nu/examples/justify.html>

* Justified Text *

To correctly render justified text, you may find it necessary to include a space before closing your paragraph. This 'trick' is necessary for one popular, but particularly 'buggy' browser. It will now be necessary to include some random text in order to extend the length of this example. The mark up for this justified text is:

      P.justify { text-align: justify; }
	

CSS Pointers Navigation
Index · Browser Bugs · Books · Tools · DHTML · XSL & DSSSL
Main Site Navigation
Index · Articles · Examples · Experiments · FAQ · Markup · Styles · Who is?
CSSPG ~ Sue ~ Roland
Validate markup Check CSS