Hi,
Only in IE you can lock a background image using a style sheet like this:

<STYLE>
BODY {background-image: url(../php/images/topmain.gif);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center; }
</STYLE>

Cheers,
Richard  :o

[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)

----- Original Message ----- 
From: "Peter Bartholdsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 12:55 PM
Subject: [Dynapi-Help] Lock layer position


> Is there a way to lock a layers position so that
> it doesn't move even if the user scrolls the page?
> 
> Simply moving when the OnScroll event occurs isn't
> really a good solution as it lags behind.
> 
> Regards,
>   Peter Bartholdsson
> 
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
> ____________________________________________________________
> Get your free domain name and domain-based e-mail from      
> Namezero.com. New!  Namezero Plus domains now available.    
> Find out more at: http://www.namezero.com                   
> 


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help

Reply via email to