hwg-techniques archives | Jul 2002 | new search | results | previous | next |
Re: CSS Background Imageby Al Sessions <al(at)oldforgefd.org> |
|
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