Specifying Background Image in CSS
by Melanie Gann <mgann(at)second-street.com>
|
Date: |
Thu, 17 May 2001 18:01:34 -0400 |
To: |
hwg-techniques(at)hwg.org |
|
todo: View
Thread,
Original
|
|
I have a background image I want to repeat only once. I have stylesheet and
body tags as follows:
<style type="text/css">
.default {
margin-top:0;
margin-bottom:0;
background-color:#FFFFFF;
background-image:images/goldbanner.gif;
background-repeat: no-repeat;
}
</style>
</HEAD>
<BODY class="default" ONLOAD="preloadImages();">
But it does not display the image. I tried putting quotes around the file
name, but it did not change anything.
Regards,
Melanie
Melanie Gann
Second Street Web Design
www.second-street.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA