View Full Version : Lightbox - background width not 100%

03-09-2007, 03:55 AM
1) Script Title: Lighbox 2.0

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

3) Describe problem:
I figured out the flash problem with lightbox from one of your other forum questions but I can't figure out why when you click on the image thumbnail the transparent background only covers the main div wrapper on my web page and does not go all the way across the screen background.. I hope this is a simple answer.. Here's the link to my site: http://www.freespiritlounge.com/bill_lyons/models.html

Thx :)

03-09-2007, 03:58 AM
..the problem is in Firefox..

Also, what happens if a persons browser is not compatible?

03-09-2007, 04:10 AM
It is covering the entire body and html portion of the page, as per your style:

html {
height: 35px;
background-image: url(/bill_lyons/images/main/bkgd.jpg);
background-repeat: repeat;
width: 900px;
background-color: #0266B4;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: .9em;
margin: 0 auto;

If you use a lot of style on the html and/or body selectors, you run the risk of this (or some similar) problem in some browsers.

Non-supporting browsers will open the the larger image. That is, if the script isn't supported, the href in the links will be followed as a normal link.