View Full Version : Background for image gallery is always white!

05-13-2010, 05:30 AM
Hi guys, I have a gallery which sits inside a div "<div class="innertube">" All the items are spaced out nice and evenly so there shouldn't be a problem. Trouble is, when I set the background colour of this div to black for example, when I preview in browser, all is white in the background. In design view it's ok, so why when I preview is this happening?

The link is http://aboutpaul.co.uk/products.html

sorry all is missing but the area in question is where the 6 missing file symbols are, you can even see a thin strip of the black background at the top of them. Thanks for help


05-13-2010, 02:10 PM
.innertube {
height: 1%;
overflow: hidden;

The innertube box only consists of floated elements, so there's nothing it can wrap around.

05-14-2010, 02:33 AM
Thanks so much mate, worked a treat!