Previous Message
Next Message

Collapsing div in IE

Sent by Andy Pemberton on 29 November 2006 18:06


The problem you are seeing is a result of not properly containing the image
floated to the left (.imgbedside)

You need to either add markup to clear the element (with <br
style="clear:both;" /> for example) or implement a no-markup clearing
solution.

References
 - http://www.complexspiral.com/publications/containing-floats/
 -
http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/

On 11/29/06, Tammy Grossbauer [EMAIL-REMOVED]> wrote:
>
> There is a problem with the content area around the floats collapsing when
> the page is viewed on a larger screen. I want the white background to wrap
> around the floated contents and not collapse because there is not enough
> text to fill the div. I'm only having this problem in IE. (I don't have
> IE7).
>
> What would be a solution to this?
>
> http://www17.brinkster.com/tammath/carstenssplash.html
> http://www17.brinkster.com/tammath/splash.css
>
> Thanks!
>
> _________________________________________________________________
> Talk now to your Hotmail contacts with Windows Live Messenger.
>
>
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview
>
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> 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/
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: