PDA

View Full Version : overlapping divs


jonsaul
02-21-2007, 12:25 PM
Hi all,

I have a problem on the homepage of this site...

http://jsaul.eu/testing/age_design/index.html

The #content seems to be moving-up and over-lapping #menu, I cant seem to find the root of this, I am using FF2 on OSX.

I have tried various 'display' types and breaks, clears, I can't work out what the problem is with it.... :@(


Any Ideas greatly appreciated,


Thanks

JSAUL

domedia
02-21-2007, 12:49 PM
Put a height on home_list. The contents of homelist are all floated, so there's nothing in there taking up height.

jonsaul
02-21-2007, 01:27 PM
Thanks Domedia,

Once again its those floats that throw me.


I will try not to post a float/height issue again......haha !!


Cheers mate.

domedia
02-21-2007, 03:15 PM
Hey noone said this stuff was going to be easy ;) I'm happy to help anytime

chriskq
02-22-2007, 01:50 AM
remember that if u float an element (eg a div) and that div has a margin on it, you have to put DISPLAY: INLINE; on that element


but only when u float and use a margin.