background image in table cell

by "Lois Wakeman" <lois(at)lois.co.uk>

 Date:  Thu, 16 Aug 2001 12:32:43 +0100
 To:  "HWG techniques" <hwg-techniques(at)mail.hwg.org>,
<valerie(at)suresource.net>
  todo: View Thread, Original
Hi Valerie,

Use these properties in CSS (snipped from Topstyle help)

----------------------------------------------------------------------------
----

Background Repeat


Syntax:  background-repeat: <value>

Possible Values:  repeat | repeat-x | repeat-y | no-repeat

Initial Value:  repeat

Applies to:  All elements

Inherited:  No

The background-repeat property determines how a specified background image
is repeated. The repeat-x value will repeat the image horizontally while the
repeat-y value will repeat the image vertically. For example:

BODY { background: white url(candybar.gif);
       background-repeat: repeat-x }
In the above example, the image will only be tiled horizontally.

Authors may also use the shorthand background property, which is currently
better supported than the background-repeat property.


----------------------------------------------------------------------------
----

However, you may have to give up on NS4.n  :-(

HTML background images in tables always tile. But you can create one with a
very long transparent bottom margin and a right margin too - if you don't
mind the longer time to load it.


Kind regards,

Lois Wakeman

------------------------------------------------------
http://lois.co.uk
http://siteusability.com
------------------------------------------------------

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