Quote:
Originally Posted by kenny
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..
|
My example returns complaint... The div align=center centers a div, which centers the entire webpage. Using less html and css than any other method, that returns complaint.
It not returning complaint in xhtml strict, which I don't have anything that uses that, so I'm not really worried about it.
My example does use less bytes of data, it works in every browser - every time, and it returns complaint for me, every single time.