Log in

View Full Version : Extra Space at bottom of page with css image gallery



codertim
10-15-2008, 04:35 AM
I have been working with the css image gallery code and have put it on a site. All looks great except for the extra space at the bottom of my page. I can't find any code in html or css to account for it, but I think it may have to do with the position: relative; or absolute, but I have played with that too...

Any and all help would be appreciated. page address is:

http://www.topekametal.com/equipment.html

Thank you,
codertim
<><

DragoGT
10-15-2008, 06:21 PM
Hello
in the css

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: 10px;
top: 100px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;

the top is missing just add it.

Anthrogue
08-31-2011, 02:43 AM
I am not worthy! ... I was using this same image gallery code as original poster, and ran into this on google search for mystery space at the bottom of the page with CSS.

I added "top: 100px;" as stipulated by DragoGT... And it worked. The problem is gone.

Why did it work? ... but, of course, thanks anyway :cool: