Internet Explorer 6- Alignment Bug

DreamweaverFAQ.com Home

There is a bug in IE6 which affects cell content alignment if you have declared a DOCTYPE with the URL. Have a look at the three links below and compare them in IE6.

Note: The bug will only show in IE6 newer betas and the final release of IE6. This will not show up in older IE6 betas.

Screenshot: If you don't have IE6, have a look at the screenshot.

Bug Demonstration Page
URL: http://www.dwfaq.com/IE6/dt_with_url.html

Same exact Page as Bug Demonstration with a different Doc Type
URL: http://www.dwfaq.com/IE6/dt_no_url.html

Bug Demonstration Page Fixed
URL: http://www.dwfaq.com/IE6/dt_with_url_ok.html

The Lesson to learn: Pay attention to your cell alignments. If you are nesting a table in a cell that requires alignment, set the alignment of the inner table cells as well. Do not rely on defaults!