This is a discussion on "DIV's overspilling container DIV in Firefox" within the Web Page Design section. This forum, and the thread "DIV's overspilling container DIV in Firefox are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
DIV's overspilling container DIV in Firefox
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
DIV's overspilling container DIV in Firefox
Hi all
I am presenting thumbnails within a container DIV. The container has no height attribute in the CSS file. I am working on 3 different pages of thumbnails all with different numbers of thumbnails within. In IE the height of the container DIV increases and decreases depending on how many thumbnails are within it. However, in Firefox the thumbnails "overspill" outside of the container DIV unless I specify a height attribute in the CSS to make it high enough. Obviously I don't want to do this because every page needs to be a different height. Is there anything I can put in the CSS to make Firefox adjust the height of the container DIV depend on how many thumbs there are like IE does? This is the CSS I have:
http://uk.geocities.com/johnson463@b...m/gallery.html Last edited by Craigj1303; May 16th, 2007 at 12:58. Reason: added link to site |
|
|
|
|||
|
Re: DIV's overspilling container DIV in Firefox
A. A link would be nice.
B. in your #gallerycontainer, you neet to put overflow:visiable. Try that and i should work |
|
|||
|
Re: DIV's overspilling container DIV in Firefox
I tried adding the "overflow: visible" to the gallery container but it didn't work. There is a link available at the bottom of my original post. If you look in Firefox it seems to mess up the whole layout whereas IE displays everything fine?
|
|
|||
|
Re: DIV's overspilling container DIV in Firefox
Usually overflow:hidden;
works. |
|
|||
|
Re: DIV's overspilling container DIV in Firefox
Neither "overflow: visible" or "overflow: hidden" worked but someone suggested using a spacer DIV between the thumbnail DIV and the container DIV which worked a treat!
|
![]() |
| Tags |
| container, div |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Div's tags in IE = death | verkevinmanering69err455 | Website Planning | 2 | Mar 12th, 2007 04:43 |
| Container Problem in FireFox | asengh | Web Page Design | 8 | Dec 12th, 2006 16:23 |
| Div's overlapping | fluerasa | Web Page Design | 2 | Oct 8th, 2006 10:09 |
| container overlaps upon text resize in Firefox | eksquall | Web Page Design | 4 | Aug 1st, 2006 16:26 |
| Container size difference in Explorer vs. Firefox. | Chris Passeno | Web Page Design | 4 | Dec 21st, 2005 14:10 |