hmmmm... not sure. I dont think you can give width to the parent without it containing the float in IE.
On 7/23/07, Eugene Morozov <[EMAIL PROTECTED]> wrote: > > Arian Hojat пишет: > > When you give an element 'layout' in IE6, it will expand to fit the > > content inside ('hasLayout' is a funky IE property that if triggered by > > certain CSS properties causes funky stuff to happen), so its a way of > > containing floats without the use of a clearing element. > > You commonly see this 'triggering' by giving parent element > > width/height, zoom:1, overflow:hidden, etc, to contain the floats > > inside. So people use it on purpose to clear floats so their parents can > > contain them. > > <http://www.satzansatz.de/cssd/onhavinglayout.html,> > > Thank you. But I have exactly opposite problem. I do not want the div to > enclose floating element. > > Seems I must create different stylesheets for IE and other browsers and > maintain them separately. Anyone knows where developers of IE live? If I > would be nearby, I'd like to tell them some kind words in person... :( > Eugene > ______________________________________________________________________ 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/