Fixing Your Site With the Right DOCTYPE (12 Apr 2002)
You’ve done all the right stuff, but your site doesn’t look or work as it should in the latest browsers.
You’ve written valid XHTML and CSS. You’ve used the W3C standard Document Object Model (DOM) to manipulate dynamic page elements. Yet, in browsers designed to support these very standards, your site is failing. A faulty DOCTYPE is likely to blame.
This little article will provide you with DOCTYPEs that work, and explain the practical, real–world effect of these seemingly abstract tags.
Article URL: http://www.alistapart.com/stories/doctype/
Read 123 more articles from A List Apart sorted by
Next Article: Lost Along The Way: Design Pitfalls on the Road from Concept to Completion