Results 1 to 2 of 2

Thread: the box men

  1. #1
    Join Date
    Mar 2006
    Posts
    3

    the box men

    What does everyone think about W3C compliance regarding the box men?

  2. #2
    Join Date
    Mar 2004
    Location
    China
    Posts
    3,315
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •