| Property: |
text-align |
| Values: |
left, right, center, justify |
| Initial: |
UA specific |
| Inherited: |
yes |
This property describes how text is aligned within the element. The
actual justification algorithm used is UA and human language
dependent.
Example:
DIV.center { 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.
_____________________________________________
Related sites:
-
dotNet Slackers - Your latest resource for ASP.NET
-
Dotnet Spider - Outsourcing and Offshore software development in India
-
XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
-
Planet Source Code - The largest public source code database on the Internet
|
|
|