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:
- HTML: Select all
#gallerycontainer {
width: 700px;
margin: 0 auto;
background: #EFE6C5;
text-align: center;
border: solid black 1px;
}
.galleryimg {
border: solid 1px #330000;
border-width: 3px;
}
div.mainleft{
float: left;
width: 232px;
height: 180px;
margin-top: 30px;
}
Also, here is a link to the gallerys. Essex, Wales, West Country and Misc all have different number of images.
http://uk.geocities.com/johnson463@b...m/gallery.html