| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
Working around CSS box incompatabilities between MSIE and everyone else
| 3:20 pm on Oct 15, 2002 (gmt 0)|
This article by Peter Paul Koch [xs4all.nl] describes the situation in detail. Jeeze, just think -- in ten years CSS 3 might be supported well enough in browsers for this to actually work. ;)
| 3:42 pm on Oct 15, 2002 (gmt 0)|
From the article:
1. In the W3C box model, the width of an element gives the width of the content of the box, excluding padding and border.
2. In the Microsoft box model, the width of an element gives the width between the borders of the box, including padding and border.
Does IE6 follow the "Microsoft box model" as described here?
I had assumed that, with a strict doctype, IE6 would follow the W3C specs. (I don't have IE6 on my system.)
| 3:47 pm on Oct 15, 2002 (gmt 0)|
You are correct. IE 6 follows the W3C model with a strict doctype. This workaround is for those who, for various reasons, don't use the strict doctype.
| 5:04 pm on Oct 15, 2002 (gmt 0)|
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved