[thelist] Dumb Background Question
Minh Lee Goon
v7ac at sdsumus.sdstate.edu
Thu Jul 27 14:04:10 CDT 2000
This is a job for Cascading Style Sheets!!
body { background-attachment:fixed;
background-image:url(blah.gif);
background-repeat:no-repeat;
background-position:center;
}
For "background-position", you can also use "top", "center", "bottom",
"left", and "right". You can also use a combination as well eg.
"background-position:top left;" to align to the top left corner.
Hope that helps.
</ml>
"Villano, Paul" wrote:
>
> All examples I've seen of backgrounds use tiling. Having been ill for the
> past week (yeah, that's my excuse and I'm sticking to it) and aliens having
> taken what little mind I had, I can't remember how to make a simple
> background image, centered WITHOUT tiling. (But obviously not just an image
> centered on the page or text couldn't be placed over it).
>
> Thanks in advance from the prescription-drug impaired
>
> Paul
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list