Previous Message
Next Message

Float problem in Firefox

Sent by Bobby Jack on 28 March 2009 11:11


--- On Sat, 3/28/09, Gaurav Sharma [EMAIL-REMOVED]> wrote:

> I have a small problem with float in Mozilla.
> 
> http://gauravsharma.uuuq.com
> 
> the background image does not render right.

Hi Gaurav,

With only a cursory glance, I have a feeling that the structure is slightly more complicated than
it need be - there are quite a few nested divs there. However, with what you have, the containing
element with the background (#footer) needs to clear the floats that it contains. One method is
applying 'overflow: auto' to that element. Alternatives can be found with a search for 'self
clearing float'.

- Bobby
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: