Back to CSS1 Reference | CSS1 Properties
Prev padding-top | Next text-decoration

left, right, center, justify
UA specific

This property describes how text is aligned within the element. The actual justification algorithm used is UA and human language dependent.

Example: { 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.

Log in or registerto write something here or to contact authors.