Re: [css-d] Nested floats in IE6/7

2010-03-29 Thread Ingo Chao
2010/3/28 Bob Bob superjunkymon...@live.com:
...
 Is it bad practice to nest floats with the width:auto  float:left on the 
 container + float:right on the child? I've read that every browser handles 
 this differently but, on a test case, IE8 + FF3.6 + Opera 10.51 have the same 
 results. It is outdated information? :)

 If it's ok to nest floats, how can I fix the problem elegantly in older 
 browsers?
 ( http://css-class.com/test/bugs/ie/float-auto-width-expansion-bug.htm )

It is ok to nest floats.

For IE7 and IE6, a widthless container float with layout descendants
might not shrink to fit.
http://dev.l-c-n.com/IEW2-bugs/shrinkwrap.php

There is no elegant solution, so you'd have to post an URL of your
page in question.

Thanks,
Ingo
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Nested floats in IE6/7

2010-03-28 Thread Bob Bob


Hello everybody!

I know this has been discussed before but I still need some advice.
Is it bad practice to nest floats with the width:auto  float:left on the 
container + float:right on the child? I've read that every browser handles 
this differently but, on a test case, IE8 + FF3.6 + Opera 10.51 have the same 
results. It is outdated information? :)

If it's ok to nest floats, how can I fix the problem elegantly in older 
browsers?
( http://css-class.com/test/bugs/ie/float-auto-width-expansion-bug.htm )

Thanks!   
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/