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
Not quite sure how to get it to work right.Code:
Do While Not objRS.EOF
Record = Record + 1If Record Mod 3 = 0 ThenResponse.Write "<div class='tile'>ElseResponse.Write "<div class='tile solidcolor'>End IfResponse.Write "</div>"objRS.MoveNext()
Record = 0
Please can someone advise?