Re: CSS Background Image

by Al Sessions <al(at)oldforgefd.org>

 Date:  Sun, 14 Jul 2002 22:06:24 -0700
 To:  Paul Kmecak <pjkmecak(at)snet.net>,
hwg-tech <hwg-techniques(at)hwg.org>
 References:  snet
  todo: View Thread, Original
At 09:34 PM 7/14/2002 -0400, Paul Kmecak wrote:

>.test {
>  position: absolute;
>  top: 25px;
>  left: 25px;
>  width: 300px;
>  height: 500px;
>  background-image: url(../images/buttonBackground.gif) top left;
>}


Try something like this:

background-image: url(../images/buttonBackground.gif);
background-color: whatever color the image is;

I don't believe you need to worry about the position as it will default to 
'repeat'.

See http://www.w3.org/TR/REC-CSS2/colors.html for more detail.



-----------------------------------------
Al Sessions
al(at)oldforgefd.org
http://www.fultonchaindesign.com/mt (personal weblog)

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA