PDA

View Full Version : Lightbox problem in IE7



thegraphicbin
02-08-2009, 07:29 PM
1) Script Title: Lightbox problem in IE7

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/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!:o

jscheuer1
02-08-2009, 08:54 PM
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):


<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 . . .