homepage Welcome to WebmasterWorld Guest from 54.166.84.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
IE5 "Broken Box Model" questions
What all is affected by it?
MatthewHSE

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 1376 posted 12:41 am on Jul 8, 2003 (gmt 0)

I just read about the IE5 "Box Model" error:

[webmasterworld.com ]

All the talk seems to be about div's. Does IE5 render padding and borders incorrectly with td's as well as with div's?

Am I correct in assuming that, without a doctype declaration in the page, IE5 and IE6 will both display exactly the same?

And does anyone know how I can get both IE5 and IE6 installed on my computer at the same time? For that matter, is there any way to get prior versions of any browser for testing purposes?

Thanks for helping folks. I never realized how much I didn't know until I started hanging out here!

 

TGecho

10+ Year Member



 
Msg#: 1376 posted 1:09 am on Jul 8, 2003 (gmt 0)
The box model problem applies to everything I'm aware of.

They will render the box model the same without a doctype. I'm not sure about other aspects, but that is probably the most important one. Div is just the major layout tag, so thats what everyone talks about.

Short of seperate installations of your OS, I don't know of any way to have multiple versions of IE on one computer. As for the other browsers, you can have as many of them as you want. Go here: http://browsers.evolt.org/

DrDoc

WebmasterWorld Senior Member drdoc us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 1376 posted 4:06 pm on Jul 8, 2003 (gmt 0)

Does IE5 render padding and borders incorrectly with td's as well as with div's?

Yes, just as TGecho said, it applies to all elements. However, it is important to note that it only applies to an element if the following is true about the element:

  • fixed height or width and set one or more of padding, margin, or border

    An element with only its width set, for example, renders correctly.

    Am I correct in assuming that, without a doctype declaration in the page, IE5 and IE6 will both display exactly the same?

    The box model problem? Yes.
    Any other issues that IE5 had? No.
    IE6 in quirks mode only imitates the broken box model, nothing else. It's also important to remember that IE6 is not infected with the same rendering bug that made Tantek Çelik's box model hack work. The hack does not work in IE6, quirks mode or not.

    And does anyone know how I can get both IE5 and IE6 installed on my computer at the same time?

    You can't. You need two computers, or a dual boot setup. IE can only be installed once per OS. If search around for a solution there will be those offering "emulators"... But, that's not a good solution. An emulator can never do the same job the real thing can, and will thus not be reliable.

  • stlouislouis

    10+ Year Member



     
    Msg#: 1376 posted 4:58 pm on Jul 9, 2003 (gmt 0)

    What about VMware? With VMware installed, one could have several versions of Windows&IE combos installed and up and running at the same time on one physical PC. One could switch between them with a click instead of a reboot -- saving time.

    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.
    Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
    WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
    © Webmaster World 1996-2014 all rights reserved