HTML & CSS
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?
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 :).
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.
This topic is now closed. New replies are no longer allowed.