I have created a sponsors column on my site.
and i have then created two extra sponsor divs to sit ontop of the sponsor column.
How do you make floating divs sit underneigh each other?
The Site
you can see on the right side i have a floating background image called sponsor_column
then you will see the 2 floating adverts "which at the moment are the same" i want them to sit over of the background sponsorcolumn image 1 over the other like this:
image
i tried using a
.clear {
clear:both;
}
in the css
and then adding
into the template but it didnt work
Suggestions?
[Solved] Spacing out divs
-
buntrosgali
- Forum Members

- Posts: 167
- Joined: Thu Apr 17, 2008 9:02 pm
[Solved] Spacing out divs
Last edited by Anonymous on Mon Aug 04, 2008 12:21 pm, edited 1 time in total.
-
christiaans
- Power Poster

- Posts: 300
- Joined: Tue Mar 04, 2008 10:37 am
Re: spacing out divs
Try using the clearfix hack (google for it), that might work.
Re: spacing out divs
Wrap the 2 divs, not floated, in a div that is floated...

