Gamaiel Zavala schrieb:
Ingo Chao wrote:Now the problem is your "spacer" with inline-style height: 50px; this dimension applies "layout" to the <p> ...
Thanks Ingo, that definitely was the problem... but I fail to understand why. If I put any div or p under the "Recent Publications" heading, styled or not, I get the same problem. I'm likely to put a list there, which (luckily) seems to be fine. What really confuses me is that the content under "Faculty Focus" causes the same problem when moved under "Recent Publications" but is fine where it's at. Care to elaborate?
Sorry for the confusion, my fault. I didn't understand it either, and that's not a good base for providing a fix :(
I have to correct myself.
You've cited another reply from Roman with:
>> It is a really good idea to make sure that boxes which hold floats
>> got hasLayout on in MSIE. ... , other browsers don't care since they properly ignore * html selector.
>> * html #outerborder, * html #innerborder {height: 1%; }
This was a part of a fix, but #contentwrap too does not contain the floats (#homeleft, #homemid, #homeright, #homediv). Apply a border-bottom:1px solid red to #contentwrap and you'll see what I mean.
IE6 does contain floats automagically when the container has layout.
It was slightly imprecise to assume other browsers would ignore the star html hack, so you'll have to hide the hack from IE5-Mac:
/* hide from IE5Mac \*/
* html #outerborder, * html #innerborder, * html #contentwrap { height: 1%; }
/* end hide */
But why is the margin-right of the parent #contentwrap duplicated?
This today's testcase might illustrate why a floated child can expand the wrapper of its non-layouted parent:
http://www.satzansatz.de/cssd/floatboundingrect.html
Ingo
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/