Ingo Chao wrote:
> Gunlaug Sørtun wrote:
>> Noah Learner wrote:
>>> http://www.learnerdesign.com/acufamily/test5.html
>
>> Safari's collapsing seems to be a tougher nut to crack. My version
>> (2.0.4) doesn't like the 'overflow: hidden' on #main_body, but it
>> doesn't do well without it either. Potential fixes seems to disturb
>> various other browser. Someone else may figure out the exact cause
>> and
>> fix for Safari's erroneous behavior.
>
>
> Didn't see the exact cause. It is fixed in Webkit nightly build.
> Didn't
> search in bugzilla.
>
> your code:
> #main_body
> __#main_content
> ____#shell
>
>
> When I remove the float from shell, it looks ok for the moment in
> Safari. Maybe there are not enough heights specified to work on. Not
> good, as float is probably needed to contain various things in
> #shell on
> other pages.
Force #main_content to stay up by adding a clearing element in it:
#main_content::after {
clear:both;
display:block;
content:"[...]";
visibility hidden;
height:0;
}
Optional:
additionally, if you don't have plans to do anything more complicated
with the left-hand navigation column, there is no need, I think to
float #navul.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/