View Full Version : the box men

05 Mar 2006, 05:01 PM
What does everyone think about W3C compliance regarding the box men?

08 Mar 2006, 06:11 AM
There are 3 box models set in the w3c specs. The border box, content box and one other who's name escapes me just now but is less popular.

Most browsers by default follow the Contnet box model. The key expeption is IE version 5 which follows the border box by default. But if you ignore IE5 then all browsers follow the Contnet Box model. Ergo, your design should follow this model.

Box model problems may occur when you make a web page that causes IE6 to switch into Quirks mode rather than standard mode. Quirks mode is used when the page has some errors or when a doctype statement is missing. Under Quirks mode, IE6 will behave like IE5 and use the border box. Of couse if you avoid errors in your pages and keep IE6 in standard mode then you will never ever have any box model based problems.