anishmsry — 2012-04-26T08:16:25-04:00 — #1
In the collapsing margins article, it's mentioned that "IE<8 won't collapse the margins if the elements has hasLayout property".
Does it affect only parent & child elements or adjacent elements as well?
Does both elements need to have hasLayout property for IE<8 to not collapse the margins?
ryanreese — 2012-04-26T08:40:04-04:00 — #2
Not to be accused of being rude, but have you run tests to see if this is the case? It's pretty straight forward to do so :).
anishmsry — 2012-04-26T23:34:38-04:00 — #3
I had run the tests in IE6 and weirdly the margin collapsed for both adjacent & parent and child elements. There was no bug.
I guess it might have fixed in a later release candidate. That is why I asked in the forum.