Results 1 to 2 of 2

Thread: Lightbox problem in IE7

  1. #1
    Join Date
    Feb 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Lightbox problem in IE7

    1) Script Title: Lightbox problem in IE7

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

    3) Describe problem: I've been trying to get the Lightbox script work in my IE7 browser, but the fade stops part way down the screen for some reason. I know I have probably done something wrong because I have seen this script work properly on other sites in that browser.
    The page I am testing it at is:
    http://www.thegraphicbin.com/mallbanners/main/.. click on a mall banner sample to see my problem. Works 100% beautifully in my FF browser.
    Thanks in advance for helping me fix this problem!

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

    Default

    Your page is a huge mess from the point of view of valid code, and you are using some fairly unorthodox layout as well. A quick fix would be to set an explicit height for the body element (addition highlighted):

    Code:
    <body>
    <style type="text/css">
    
    .bottom {color: #ffffff; font-family: tahoma, times, verdana; font-size: 10px; letter-spacing: 2px; text-transform:uppercase; font-weight:bold; text-align:center;}
    body {height:2000px;}
    </style>
    
    <div style="width: 600px; height: 200px; overflow: auto; position: absolute; top: 0px; left: 280px; padding: 0px;" >
    <center>
    <script type="text/javascript"><!--
    google_ad_client = "pub-51 . . .
    - 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
  •