[css-d] IE6 float bug

2007-07-23 Thread Eugene Morozov
Hello, I have a container with floating image. I've set a width for the container in the CSS mode. All standards compliant browsers display the page just fine: image is floating and parent container has zero height. In the IE6 parent container height is expanded to enclose the floating image.

Re: [css-d] IE6 float bug

2007-07-23 Thread Eugene Morozov
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

Re: [css-d] IE6 float bug

2007-07-23 Thread Eugene Morozov
Arian Hojat [EMAIL PROTECTED] writes: h... not sure. I dont think you can give width to the parent without it containing the float in IE. Yes, I've read your link to the end, and now understand it. There's no way to do what I want in IE. I used to think that for every IE bug there's a hack

Re: [css-d] IE6 float bug

2007-07-23 Thread Eugene Morozov
Arian Hojat [EMAIL PROTECTED] writes: Just curious.Can u give an example of why you want it not contained? like a link to the website or a link to a pic of your layout in FF.Maybe can suggest another way to visually present the data.Arian http://home.eugenemorozov.name/~jmv/library.html The

Re: [css-d] IE6 float bug

2007-07-23 Thread Eugene Morozov
Arian Hojat [EMAIL PROTECTED] writes: In that #insert-wrapper img rule try absolute positioning it as one possibility. #insert-wrapper img { position: absolute; top:0px; left:-20px; } or maybe relative to the main page. #inset #inset-wrapper { position: static; } #inset