The History of the Web logo

Unraveling the web's story


Doctype Switching and the Box Model Hack

While developing IE5 for Mac, Tantek Çelik introduces doctype switching, allowing web developers to define which CSS box model to use in modern browsers. To polyfill older browsers, he creates the Box Model Hack, which uses some CSS to define widths for both box models in the same definition.

Leave a Reply

Your email address will not be published. Required fields are marked *