tb******@yahoo.com wrote:
This issue seems to be more of a bug than a feature. It does not seem
to fall under the Uncollapsing Margins. As this example shows adding
padding or borders has no affect upon the issue.
http://hughaxton.com/NewsGroups/BorderIE2DivsTable.html
Please quote what you are replying to? I now had to find out what you
were on about from previous postings.
And don't blame it on Google Groups, as you can read here:
http://www.safalra.com/special/googlegroupsreply/
Anyway, your problem is that the inner div collapses when placed
between the table and the outer div.
What is happening, is the inner div letting the margin of the table go
outside its border.
Just set a height to the inner div (any height, I usually use 1%, but
you have to hide that style from other browsers), and it conforms to
what Firefox and Opera do.
Now you'll probably ask why the outer div when it was by itself,
didn't show the same problem. That's because you set a width on it.
Either width or height makes the box encompass its contents, whether
those contents include elements with margins, or even floats. In WinIE
that is!
HTH
--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -