Hi there,

What I need to accomplish is for every third <div> tag I need to apply a certain css class .solidcolor

I think I can do something like

Do While Not objRS.EOF
Record = Record + 1
If Record Mod 3 = 0 Then
Response.Write "<div class='tile'>
Response.Write "<div class='tile solidcolor'>
End If
Response.Write "</div>"
objRS.MoveNext() Loop Record = 0
Not quite sure how to get it to work right.

Please can someone advise?