[thelist] Brain-Fart on fixed Background

James Aylard webmaster at equilon-mrc.com
Tue Jul 10 10:33:41 CDT 2001


Richard,

> <body bgcolor="white" style="background:
> url('../images/ie/logos/animation2.gif'); background-repeat: no-repeat;
> background-position: center; background-attachment: fixed;"scroll=no>

    Or you could go standards-compliant the whole way by removing the
bgcolor and scroll attributes and apply the same effects via style sheets
(watch for word-wrap):

<style type="text/css">
 <!--
  body {
   background: #ffffff url(../images/ie/logos/animation2.gif) no-repeat
fixed center ;
   overflow: hidden ;
  }
 // -->
</style>

James Aylard





More information about the thelist mailing list