Quote:
Originally Posted by TheDoc
This is what I use... it's compliant, and it works without question.
Code:
<div align="center">wrap/words</div>
Works great when everything else is left but you need a block of text centered.
Code:
<p align="center">words</p>
|
http://www.w3schools.com/tags/att_div_align.asp
Compatibility Notes
The align attribute of the div element was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict DTD.
Use CSS instead.
CSS syntax: <div style="text-align:center">
None if it centers the whole webpage anyway..