[SOLVED] overlapping divs :-(

This is a discussion on "[SOLVED] overlapping divs :-(" within the Web Page Design section. This forum, and the thread "[SOLVED] overlapping divs :-( are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Dec 18th, 2007, 11:09
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] overlapping divs :-(

Hi Everyone.

I have a problem on the site im building........

http://www.design365.co.uk/piccolo/default.asp

All the images on the right (brands, sale items, gifts etc) are in a div named 'imageholder', the problem is that in firefox the images overlap the footer, its ok in IE. Im not sure why this is happening, maybe something to do with the code ive used for the imageholder.....

Code: Select all
#imageholder{
float: right;
clear: left;
margin-right: 1px;
}
Hope this makes sense

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 18th, 2007, 11:12
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: overlapping divs :-(

Add { overflow: auto } to the box containing your images, or add a clearing <div> at the bottom.

And validate your code!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 18th, 2007, 11:16
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: overlapping divs :-(

overflow: auto doesnt seem to work, how do i do a clearing div for it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 18th, 2007, 11:47
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: overlapping divs :-(

In the footer div you can add this to the css:
clear: both;

Or add an entire clearing div between the imageholder and the footer div.

html looks like:
Code: Select all
<div class="clear"></div>
css looks like:
Code: Select all
.clear {
    height:1px;
    margin:0 0 -1px 0;
    clear:both;
    overflow:hidden;
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 18th, 2007, 11:51
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: overlapping divs :-(

hey thanks lchad, however, i solved it just now. I used clear: both; on the 'footer' div.

Thanks people
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 18th, 2007, 11:52
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] overlapping divs :-(

ah damn sorry lchad i didnt read your first bit i just looked at the code u gave me. Thanks a lot though
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 18th, 2007, 11:54
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] overlapping divs :-(

no problem.... next time I should use the code box huh?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Dec 18th, 2007, 12:58
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] overlapping divs :-(

haha yea at least i mite actually read it then lol. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Gaps between divs :-( danny322 Web Page Design 13 Jan 24th, 2008 10:14
[SOLVED] how to put divs next to each other lostboys Web Page Design 9 Jan 13th, 2008 20:47
[SOLVED] Im getting a gap between 2 divs :-( danny322 Web Page Design 1 Jan 9th, 2008 08:46
[SOLVED] DIVs and Firefox - help! Emzi Web Page Design 4 Oct 4th, 2007 10:42
multiple overlapping divs? Donny Bahama Web Page Design 24 Apr 23rd, 2007 20:23


All times are GMT. The time now is 01:47.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42