By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,766 Members | 1,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,766 IT Pros & Developers. It's quick & easy.

Why does it DO this? (IE 5/6 box model)

P: n/a

This very simple page works corectly in every browser I can find except
IE 5.5 and IE 6 on Windows.

The page contains two blocks of text; one static, the other floated.
They each occupy 50% of the parent block, and display correctly --
50/50 in every browser.

However, if the parent block has margins of it own, IE 5.5 and IE 6.0
screw up, although each browser screws up somewhat differently.

(IE 5.5 makes the fixed block narrower and the floated block wider. IE
6.0 makes the fixed block narrower, but renders the floated block
correctly, leaving an unwated gap.)

The question is why does this happen, and what is the generic
workaround? I mean, I know about the IE box model problem with padding
and margins, but I'm not using padding here. What's happening?

Jim Royal
"Understanding is a three-edged sword"
Jul 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.