Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Repeating a tiling image in a table cell

Reply
Thread Tools

Re: Repeating a tiling image in a table cell

 
 
Anders Thorsen Holm
Guest
Posts: n/a
 
      07-15-2003
Derek Fountain wrote:

> I have an image which I want to tile in a table cell.


[snip]

> Is there an alternative way?


Use CSS.

Define a class for the table cell for which you want a background:

..mytd {
background-image: url(images/topbar_05.gif);
}

<td class="mytd">whatever</td>

or use inline style:

<td style="background-image: url(images/topbar_05.gif);">whatever</td>


--
Anders Thorsen Holm | http://www.daimi.au.dk/~zoolook/
"It's hard to be religious when certain people are never incinerated by
bolts of lightning."
- Calvin, Attack of the Deranged Mutant Killer Monster Snow Goons
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tiling of background image. Shelly HTML 7 12-04-2007 08:57 PM
stretching the background image instead of tiling =?Utf-8?B?U3JpZGhhcg==?= ASP .Net 3 11-30-2005 11:32 AM
Tiling windows horizontally <- hopefully an easy fix EP Computer Support 2 09-01-2005 12:05 AM
tables, rows and backgrounds (background image repeating every cell) Marianne HTML 5 10-17-2004 12:14 AM
Printable tiling - Not tiling on screen needed. SS4 Computer Support 7 12-23-2003 03:05 AM



Advertisments