Re: Stationary Background Image
by "Comharsa" <comharsa(at)clara.net>
|
Date: |
Fri, 14 Jan 2000 00:34:53 -0000 |
To: |
<hwg-basics(at)hwg.org> |
References: |
dplanet |
|
todo: View
Thread,
Original
|
|
> > How do you keep a background image stationary and have the text scroll
over
> > it?
> >
> You must use Cascading Style Sheet (CSS):
>
> <STYLE TYPE="text/css">
>
> <!--
>
> BODY {background-image: url(yourimage.gif);
> background-attachment: fixed}
> -->
>
> </STYLE>
>
>
> (There are more possibilities for the background property with CSS: color,
> repeat, position)
>
> Alessandro
This doesn't work in NS 4.7 though. It does work in NS 5 however, unlike the
BODY attribute BGPROPERTIES="FIXED". So if you want it to carry on working
the CSS method is preferable.
Brian
comharsa(at)clara.net
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA