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 a guide to professional web site design, web page design and web design guidelines

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

Displaying an Image Background within HTML Table Cells

You can add an image background to your HTML table cells by adding BACKGROUND="yourimage.gif" to your <TD> tag.

Example HTML Code:

<TABLE BORDER="0" CELLPADDING="2" WIDTH="50%">
<TR>
<TD BACKGROUND="yourimage.gif"><FONT COLOR="White">This example displays your text over your image background.</FONT>
</TD>
</TR>
</TABLE>

Browser View:

This example displays your text over your image background.

Example HTML Code:

<TABLE BORDER="0" CELLPADDING="2" WIDTH="50%">
<TR>
<TD BACKGROUND="yourimage.gif" WIDTH="10%">
</TD>
<TD WIDTH="40%">This example displays your text next to your image background.
</TD>
</TR>
</TABLE>

Browser View:

This example displays your text next to your image background.


 More Web Design Tips