Block-level content (like a div
) is correctly centered using a left/right margin value of auto
.
IEWin v5 gets this wrong; this page shows how to use conditional comments to make a valid HTML/CSS page which also appears correctly in IE5.
Hello World
Hello World
Hello World