TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

How to use an image as a backround for a table

Page: 1 Reply
Aug 3rd 2003#116213 Report
Member since: Aug 16th 2001
Posts: 24
How do you use an image as a backround for a table in HTML instead of a regular color? Does anyone know the codeing for it? I am newb. Thanks.
Reply with Quote Reply
Aug 3rd 2003#116232 Report
Member since: Jul 25th 2003
Posts: 489
First tell us what kind of html editor you use, if you are using a text pad or something like that, then this is the code for it:

(td width="49" align="left" background="images/space.gif" bgcolor="#C5BE9C")

just change ( and ) with < and >

Here's an example of a table cell with a background color but also an image on top of it :D
Reply with Quote Reply
Aug 3rd 2003#116252 Report
Member since: Apr 20th 2002
Posts: 3000
For either the <table> tag or the <td>, just add background="path to image" where you would define their widths.

However, if you're using stylesheets, just add the:

background-image: url('path to image');

attribute to the class you're using for that table.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum