Adding Color To Your Table Borders

by sabitha 2010-09-17 15:51:19

If you're using HTML tables within your web page and would like to add a color border, this HTML code will assist you.

In this example, the table below contains 1 column and 1 row. The background color is set to #EAE8E8 and the border color is set to #C6C6C6.

<TABLE BORDER="2" BORDERCOLOR="#C6C6C6" CELLPADDING="4" ALIGN="Center" WIDTH="50%">
<TR>
<TD BGCOLOR="#EAE8E8">Your Text</TD>
</TR>
</TABLE>

Tagged in:

1284
like
0
dislike
0
mail
flag

You must LOGIN to add comments