View Full Version : Lightbox image viewer 2.0

03-18-2007, 10:54 PM
1) Script Title: Lightbox image viewer 2.0

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

3) Describe problem: I'm having trouble figuring out how to change the white border that shows around the pictures to a different color. Which attribute is it in the .css file?

03-19-2007, 04:11 AM
In css you have property/value pairs assigned to a selector, not attributes. Anyways, it isn't really a border, it is the background-color of the element behind the image and can be set here in lightbox.css:

position: relative;
background-color: #fff;
width: 250px;
height: 250px;
margin: 0 auto;