> IE incorrectly implements the CSS box model, while FF (and other > browsers) gets it right. Specifically, IE assumes the width you > specify is for the actual content area of the elements box, while the > CSS spec says that the width you specify is for the entire box > (including padding, border, and margin).
You've got that backwards. In CSS, the width does not include padding, border, and margin. In older versions of Internet Explorer, the padding and border were included in the width. > So if you've got 5px of > margin, a 1px border, and 4px of padding, your elements will be 10px > wider than they should be. Or, if you're looking at it from the IE > side, rather than the standards side, a standards compliant browser > will show your boxes 10px smaller than you're used to. I believe this was all true pre version 6. It's also true if you're using quirks mode (see doctype switching). For more information: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html /cssenhancements.asp 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:187353 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

