Guide to creating a web site, web design, web development, internet marketing, promotion, html tips and tricks, javascript and more.

Your Guide to Professional
Web Site Design and Development

HTML Tips
HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering Free HTML Tips, Tags and Codes

Open Directory Projectfree ebooksfree articles
web site design development internet marketing and promotion tutorials

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

webmaster resources

HTML Table Background Image

HTML tables are displayed within a web page to neatly align content. They can contain image backgrounds, colored backgrounds, borders of different sizes, and an unlimited number of rows and columns.

In this example, t
he HTML table below contains 2 columns and 1 row. The left column contains the image. The original image appears below to enable you to see the actual size.

This is an example of an HTML table with an image background. This HTML table has 2 columns and 1 row.



<TABLE BORDER="0" CELLPADDING="4" ALIGN="Center" WIDTH="50%">
<TR>
<TD BACKGROUND="bg.gif" WIDTH="10%"></TD>
<TD BGCOLOR="#EAE8E8"></TD>
</TR>
</TABLE>

Edit the text indicated in bold to suit your needs.

This is the actual image used within the above table:



Notice how the image duplicated itself to fill the table's background? Keep this in mind when creating your own image.

If you'd like to use the above image as an example to assist you in creating your own image, you're welcome to copy it.

Here's how:

Place your mouse pointer over the image above and right click on your mouse. Go to 'Save Picture As' - a window will load and enable you to select the folder on your computer in which you'd like to save the image.



Submit your HTML code snippets. We'll credit you and give you a link to your website.