Background color not 100% high!

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Can someone figure out how I can get the background color to not stop short
at the bottom of the page when an image longer than the viewable screen is
displayed?! Woks great if the image is small though (in Firefox anyway).


<style type="text/css">
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        position: absolute;
        background-color: rgb(213, 200, 156);
        opacity: 0.5;
        z-index: 10001;

<!-- Begin
function toggle(id)
 if ( document.getElementById)
  var layer = document.getElementById(id); = ( == 'none') ? 'block' : 'none';

if (id=='logo')
var b= document.getElementById('btnClose'); = "absolute";; -


// End -->
 <a href="#" onclick="toggle('blockUI');toggle('logo');">Click to

     <div id = "logo" style="display:none; position: absolute; left: 200px;
top: 100px; z-index: 55000">
  <a id="btnClose" href="#" onclick="toggle('blockUI'); toggle('logo');
"><img src="/images/close.gif" border="0" /></a>
   <img src="/images/400x650.jpg" border=0 alt="" />

  <div id="blockUI" class="translucent" style="display: none;
         width: 100%; height: 100%; position: absolute; left: 0px; top: 0px;
z-index: 50000;"
         onclick="return false" onmousedown="return false"
onmousemove="return false"
         onmouseup="return false" ondblclick="return false">

Re: Background color not 100% high!

Quoted text here. Click to load it

I see that there are many options for images (filter, moz-opacity, opacity,
z-index) which you can style.
Do you perhaps have any good reference where I could read something more on
this subject?

     Luigi Donatello Asero

Re: Background color not 100% high!

Yauw wrote:

Quoted text here. Click to load it

Please do you homework to help others to help you: remove the irrelevant
parts (like client-side scripting etc.) from the document where the problem
appears, and post the URL.

Quoted text here. Click to load it

I like woks too.

Jukka K. Korpela ("Yucca")

Re: Background color not 100% high!

Quoted text here. Click to load it

Remove the 100% height.

Infinity has its limits.

Site Timeline