List interlace color refers to in the news and the list of articles, the first line and the back of the background color alternating display, can also be called zebra crossing, to the Web page can be a lot more. See small Yi in Bi's post "the standard under the color of the line of thought", the use of UL two lines of background repetition, although the method is good, but the height of Li can only use the background in the actual height, not flexible, so with Asp+css wrote a, using a custom list.
<%
set rs=
... Sql= "..."
rs.open sql,con,1,1
%>
<dl>
<%
i=0 do whereas not
(rs.eof or err)% >
<dt><a href= "http://www.forest53.com/tutorials_show.asp?
Sortid=<%=rs ("SortID")%>&id=<%=rs ("id")%> "><%=rs (" Biaoti ")%> </a></dt
>
<% If i mod 2 = 0 then%>
<dd>
<% else%>
<dd class= "Two" >
<% End If%>
<%=rs ("Zhaiyao")%>
</dd>
<%
i=i+1
loop
% >
</dl>