Hallo,
I'm using a javascript to hide and show a div box. The link that shows (onclick) the box is on the bottom of the page. I would like the box to be shown also on the bottom of page, but I'm having trouble with the positioning. I use this code to position the div:
it works fine in IE because it positions the box always 20px from the bottompage, considering that the page can be longer than what it is shown in the screen. The behavior of Netscape is probably more coherent because it always place the box exactly in the same position (absolute) without considering the height of the page. So if the page is longer than the screen the box will result in the middle of the page.
Do you know how to place a box 20 px from the bottom of the page?
thanks for helping
I'm using a javascript to hide and show a div box. The link that shows (onclick) the box is on the bottom of the page. I would like the box to be shown also on the bottom of page, but I'm having trouble with the positioning. I use this code to position the div:
Code:
div#div_credits {position:absolute;
left:250px;
bottom:20px;
width:250px;
background-color:#F7F8FC;}
Do you know how to place a box 20 px from the bottom of the page?
thanks for helping