<style type="text/css">
.blue{ background-color: Blue;
}
.red { background-color: Red;
}
</style>
...
<%
i = 1
'Do While Not rs.EOF
For p = 0 To 5
If i = 1 Then
Response.Write "<tr><td class=blue>This is a blue row</td></tr><br>"
i = 0
Else
Response.Write "<tr><td class=red>This is a red row</td></tr><br>"
i = 1
End If
If i = 1 Then
'i = 0
Else
'i = 1
End if
Next
'Loop
%>
<TABLE width="80%" cellpadding="4" cellspacing="1" align="center" bgcolor="#000000" border="0">
<%
i = 1
'Do While Not rs.EOF
For p = 0 To 5
If i = 1 Then
Response.Write "<tr><td bgcolor=""#ffcc33"">This is a sand colored row row</td></tr><br>"
i = 0
Else
Response.Write "<tr><td bgcolor=""#ff9933"">This is a pumkin colored row</td></tr><br>"
i = 1
End If
Next
'Loop
%>
</TABLE>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 20
Repeat1__index = 0
Recordset3_numRows = Recordset3_numRows + Repeat1__numRows
%>
<table border="1" cellspacing="0" bordercolor="#CCCCCC">
<tr class="style31">
<td bgcolor="#CBFCFE"><strong>Titel</strong></td>
<td bgcolor="#CBFCFE"><strong>Team</strong></td>
<td bgcolor="#CBFCFE"><strong>Name</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>Planlagt antal pt.</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong></strong> </td>
<td width="50" bgcolor="#CBFCFE"><strong>jan</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>feb</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>mar</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>apr</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>maj</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>jun</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>jul</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>aug</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>sep</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>okt</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>nov</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>dec</strong></td>
<td width="50" bgcolor="#CBFCFE"><strong>Sum år til dato</strong></td>
</tr>
<% While ((Repeat1__numRows <> 0) AND (NOT Recordset3.EOF)) %>
<tr class="style31">
<td><%=(Recordset3.Fields.Item("combi").Value)%></td>
<td><%=(Recordset3.Fields.Item("team").Value)%></td>
<td><%=(Recordset3.Fields.Item("name").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("planlagt_antal").Value)%></td>
<td width="50"> </td>
<td width="50"><%=(Recordset3.Fields.Item("januar").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("februar").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("marts").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("april").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("maj").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("juni").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("juli").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("august").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("september").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("oktober").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("november").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("december").Value)%></td>
<td width="50"><%=(Recordset3.Fields.Item("aartildato").Value)%></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset3.MoveNext()
Wend
%>
</table>
what you're looking for is really easy to implement, however I'm not sure how Dreamweaver structures its code. Can you post the bit that is displaying the table so I can provide the necessary changes?