homepage Welcome to WebmasterWorld Guest from 50.17.107.233
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: DrDoc

CSS Forum

    
Box-sizing
Working around CSS box incompatabilities between MSIE and everyone else
moonbiter




msg:1203820
 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. ;)

 

Longhaired Genius




msg:1203821
 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.)

moonbiter




msg:1203822
 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.

Longhaired Genius




msg:1203823
 5:04 pm on Oct 15, 2002 (gmt 0)

Thanks, moonbiter

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved