Re: Specifying Background Image in CSS
by EmeraldSpirit <emerald_spirit(at)yahoo.com>
|
Date: |
Thu, 17 May 2001 15:37:26 -0700 (PDT) |
To: |
hwg-techniques(at)hwg.org |
In-Reply-To: |
server |
|
todo: View
Thread,
Original
|
|
You need to set it up like the following:
<style type="text/css">
.default {
background-image: url(images/goldbanner.gif);
background-repeat: no-repeat;
}
</style>
Of course you need to leave the rest in there... I was
just too lazy to type it all out for you!
Rebecca
--- Melanie Gann <mgann(at)second-street.com> wrote:
> 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
>
=====
Do while Project<>Completed
if impossible = true then
rethink(approach)
set impossible = false
end if
loop
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA