- From: Garth Wallace <gwalla@hotmail.com>
- Date: Mon, 27 Apr 1998 03:21:57 PDT
- To: www-html@w3.org, dreamwvr@altavista.net
> Trying to get this clear in the mind. Is there a way to > control background images on a page so that you can layer > their placement or quadrant including default painting for > browsers that do not load backgrounds. Also since this has > long since left the braincells is their a way to get a > background image not to tile but take image and turn off > tiling of image used as background. I am sure there is but > can't seem to remember for the life of me:'( The only way I know is with stylesheets. Use the background property of the BODY tag: BODY {background: url(bgimage.gif), no-repeat, scroll, _postition_) where _position_ is either a pair of coordinates, horizontal then vertical (percentage or a unit of measurement), or one of the keywords: top, middle, bottom, left, center, or right. This will put the image "bgimage.gif" at _position_, without repeating it. The image will scroll with the window. Incidentally, CSS is now the preferred method of setting background images. ------------ "I am not a number! I am a free man!" --------------- - The Prisoner* *or a USC student <gwalla@planetall.com> ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Received on Monday, 27 April 1998 06:22:00 UTC