Re: Background image in table cell

by "Doug Dossett" <hwg(at)miscsites.com>

 Date:  Wed, 15 Aug 2001 13:06:50 -0700
 To:  <hwg-techniques(at)hwg.org>,
"Valerie L. Criswell" <valerie(at)suresource.net>
 In-Reply-To:  suresource
  todo: View Thread, Original
Hello,

In your <.td> use style="background-color: white; background-
image: url(/images/plant.jpg); background-repeat: no-repeat;" where 
background-color would be your background color for the cell and 
image would be the image you want to use.  

HTH,

Doug Dossett
MiscSites.com


On 15 Aug 2001, at 14:39, Valerie L. Criswell wrote:

> I need to place a background image in a table cell.  Easy enough.  The
> trick is that the image is in the area that is to be where all the
> content is located.  This image must not repeat itself vertically (it
> only needs to appear at the top of the content area).  Making the
> image any part of the background image of the page is not an option.
> 
> How can I do this?  Is there any way with CSS, or is there a TD
> attribute I'm overlooking?  The site must only be IE5 (NS4 would be
> nice, but is not necessary) compliant.
> 
> Thanks guys...
> 
> ~Val
> 
> Valerie L. Criswell
> Internet Design and Programming
> 
> Suresource, Inc.
> PO Box 7207
> Florence, SC 29502-7207
> 843.292.9036
> www.suresource.net
> 
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ 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.