Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use two colors in a table

Status
Not open for further replies.

Boyeditor

Programmer
Apr 23, 2002
9
0
0
NO
I have been looking all over the place for a script that can help me do the following:

Everyone have seen hotmail. How do they produce two colors when they do the "repeat region" in a table? I want to do the same thing when i'm showing my tables.

Like this:
<table width=&quot;200&quot; height=&quot;136&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
<tr>
<td bgcolor=&quot;#333333]&quot;><font color=&quot;#FFFFFF&quot;>Headline</font></td>
</tr>
<tr>
<td bgcolor=&quot;#CCCCCC&quot;>table 1</td>
</tr>
<tr>
<td bgcolor=&quot;#666666&quot;><p>table 2</p>
</td>
</tr>
<tr>
<td bgcolor=&quot;#CCCCCC&quot;>table 3</td>
</tr>
</table>


How do i accomplish something like this? I use access database and asp.

Salute from Boyeditor!!

ps: sorry for my bad english.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top