Re: aligning background images
by "Lisa S. Marion" <lsmarion(at)acs3.net>
|
| Date: |
Thu, 28 Oct 1999 10:20:38 -0700 |
| To: |
"Edgar Powell, Jr." <edgar(at)job.jsums.edu>, <hwg-graphics(at)hwg.org> |
| References: |
hwg |
| |
todo: View
Thread,
Original
|
|
----- Original Message -----
From: Edgar Powell, Jr.
Subject: aligning background images
> Hi List,
>
> I created a background image that I would like to use on a webpage but I
> do not
> want the image to repeat itself. Also I want to be able to align the
> image to the left, center or right.
>
> How is this done?
To stop the background from "tiling"
Try adding the following CSS tag right after the BODY tag:
BODY STYLE="background-image: url(backgroundimagenamehere.jpg);
background-repeat: no-repeat"
Of course don't for get the brackets (<at the beginning and >at the end)
also replace
"backgroundimagenamehere.jpg" with your real background image name and
extension.
I am not sure about the alignment issue. I think it can be handle with
CSS...
lisa
HWG: hwg-graphics mailing list archives,
maintained by Web Professional Association - IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.