Log in

View Full Version : removing scroll bar from image gallery



b3nny
10-26-2011, 10:05 AM
Hi,

I am trying to make a catalogue based on the css image gallery from the DD site.

I would like to get rid of the scroll-bar, but cannot understand why it is there without content which goes that a long way down.

http://b3njamin.cwsurf.de/F1/index.html

Sorry if it's a stupid question, I am very new at this.

Benny

jscheuer1
10-26-2011, 01:24 PM
Two things -


In the css/gallery.css file remove:



<style type="text/css">

from the top, and


</style>

from the bottom.


In that same file, add the highlighted as shown:


.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 5px;
left: -1000px;
top: -1000px;
border: 0px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

b3nny
10-26-2011, 02:38 PM
works perfect,
thanks