Adding An Image Background To Your HTML Web Page Tables
by sabitha[ Edit ] 2010-09-17 15:49:58
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, the 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.
<TABLE BORDER="0" CELLPADDING="4" ALIGN="Center" WIDTH="50%">
<TR>
<TD BACKGROUND="bg.gif" WIDTH="10%"></TD>
<TD BGCOLOR="#EAE8E8"></TD>
</TR>
</TABLE>