Results 1 to 3 of 3

Thread: Lightbox - background width not 100%

  1. #1
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Lightbox - background width not 100%

    1) Script Title: Lighbox 2.0

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/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

  2. #2
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ..the problem is in Firefox..

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

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,496
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It is covering the entire body and html portion of the page, as per your style:

    Code:
    body,
    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •