Previous Message
Next Message

Containing floats with out using clear...

Sent by Zoe Gillenwater on 20 December 2003 15:03


Jason Robbins wrote:

> I have a problem containing a float. I originally used the clear 
> option at the end of my div. However that was causing the text in the 
> div to disappear. (This reappeared when the mouse moved of some random 
> action happened! Obviously an IE bug!) To solve this problem in a 
> Mozilla and Opera I set a min-height on the DIV. This does not work in 
> IE. Does anyone have any other suggestions that doesn't use clear?
>
> The original disappearing text in IE can be seen at the mock up: 
> http://test.rightlines.ltd.uk/temp.htm
>
> The working version can be seen at: 
> http://test.rightlines.ltd.uk/default.aspx
>
> The working version CSS can be seen at: 
> http://test.rightlines.ltd.uk/layout.css
>
> I'm very great-full any light you can shed on this problem


I'm glad you are grateful (just teasin!). ;-)

You can also contain floats by making the container a float.  That 
doesn't require the use of clear.

If you are interested in learning about some IE bugs and how to fix 
them, visit http://www.positioniseverything.net.

HTH,
Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: