> Prior to IE6, the boxmodel of IE was build upon the idea > margin+padding+border were included in the width.
Are you sure? I believe it included padding and border but not margin, but I haven't actually tested to verify this. Again, I'm basing my information off of the following page: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html /cssenhancements.asp "When the !DOCTYPE declaration does not switch on standards-compliant mode, as with earlier versions of Internet Explorer, the width property includes the object's content box, plus the values of the following properties: border-left, border-right, padding-left, and padding-right. Subtracting the sum of the values of these properties from the value of the width property equals the width of the parent object's content box. Likewise, subtracting the sum of the values of the border-top, border-bottom, padding-top, and padding-bottom properties from the value of the height property equals the height of the parent object's content box." > The box model can be workaround by not using width/height in combination > with padding/margin. So add an extra nesting to prevent boxmodel issues, > or change the boxmodel rendering with the css properties created for it. That's an interesting approach. I don't know why this hadn't occurred to me before, especially since I used to something similar for Netscape 4.x browsers. > This model however can be suppressed by forcing IE into quirks. I would > recommend it to everyone, since standards mode is to buggy for > production. Is standards mode really buggy in this respect or does it just not degrade gracefully in older browsers? In any case, I agree that using quirks mode is the way to go for the time being. I use the following doctype, and I run into surprisingly few cross-browser, cross-platform or backwards compatibility issues: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187364 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

