Fw: CSS Background - ( EXCITED!!!!! )

by "Buddy Harris" <bharris(at)stny.rr.com>

 Date:  Wed, 26 Apr 2000 11:59:42 -0400
 To:  "HWG Email List" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Thanks so much Josu�!
I had to remove the "repeat" attribute and it worked like a charm.
Again, Thanks!!
Buddy
...........................................
Hey Buddy,
Try something like this:
body {
  background-color: #e7e7e7;
  background-image: url("../images/background.gif");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  color: #000;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px
}
HTH,
Josu�

> I've finally broken down and started using external .css (old dog - new
> tricks).
> Problem is, I can't find out how to get a background image to work as
> opposed to bgcolor.
> ( BODY {background: bg1.gif; color:#000000; margin:.03in .10in .10in;} )

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA