Thread: Backround image
View Single Post
Old 07-02-2002, 02:39 PM   PM User | #3
whackaxe
Senior Coder

 
Join Date: Jun 2002
Location: paris, france
Posts: 1,216
Thanks: 0
Thanked 0 Times in 0 Posts
whackaxe is an unknown quantity at this point
you should make the image huge (like 1600*1200) and then have this at the top of you page

<script>

function changepicsize()
{
backg.width = screen.availWidth;
backg.height = screen.availheight;
}
</script>

<body onload="changepicsize()">
<img name="backg" src="back.gif" style="position: absolute; top:0px; left: 0px;z-index:2;">
<div style="z-index:1;">
the rest of the page
</div>

this isnt very good if your page is a dhtml intensive page
__________________
photoshop too expensive? use the GIMP! www.gimp.org
whackaxe is offline   Reply With Quote