View Full Version : Lightbox top padding problem

Cody J
02-09-2009, 09:25 PM
1) Script Title: Lightbox Image Viewer 2.03

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:

Basically I just want to lose all the top padding so the image is on the most uppermost part of the page, so all the black part that underlays the lightbox itself is on the left+right and bottom.. but I don't know what part of the .js or .css file to edit, any help would be much appreciated. :D!

Thanks in advance.

02-10-2009, 03:54 AM
In lightbox.css at the beginning of the file, add the highlighted:

position: absolute;
left: 0;
top: 0!important;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;