place background image in cell using css

  • Thread starter Thread starter Geoffw
  • Start date Start date
G

Geoffw

thanks for any help

I currently have this

..rightside { background: #EFDBA5; color: #000000; font-size:
12px; font-family: Verdana, Arial, Helvetica; line-height:
18px; }

that shows a background colour in a cell

I am unable to match the image in the cell with the
background colour adequately

How do I use css to load an image as the background ?

is it like this ?

..rightside { background: <img border="0"
src="images/image.gif" width="100" height="100">; color:
#000000; font-size: 12px; font-family: Verdana, Arial,
Helvetica; line-height: 18px; }


thanks

Geoff
 
It's like this:

..rightside {
background-image: url('images/image.gif');
color: #000000; font-size: 12px; font-family: Verdana, Arial,Helvetica; line-height: 18px;
}

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Thanks Steve

appreciated

Geoff

Steve Easton said:
It's like this:

.rightside {
background-image: url('images/image.gif');
color: #000000; font-size: 12px; font-family: Verdana,
Arial,Helvetica; line-height: 18px;
 
You're welcome.
;-)
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Back
Top