|IE5 "Broken Box Model" questions|
What all is affected by it?
| 12:41 am on Jul 8, 2003 (gmt 0)|
I just read about the IE5 "Box Model" error:
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!
| 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/
| 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.
| 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.