如何在每条asp的记录里加一句<DIV>

来源:百度知道 编辑:UC知道 时间:2024/06/01 22:00:08
如何在每条asp的记录里加一句<DIV>
<table width="100%" border="0" cellspacing="1" cellpadding="0">

<%i=0
do while not rs_news.eof%>
<tr align="center">
<td align="center"><img src="Img/arrow_2.gif" width="11" height="11"> </td>
<td width="71%" align="left" > <a href="shownews.asp?id=<%=rs_news("id")%>" target="_blank"> <%=cutstr(rs_news("title"),16)%> </a></td>
<td width="19%" align="left" ><%=FormatDateTime(rs_news("AddDate"),2)%></td>
</tr>
<%rs_news.movenext
i=i+1
if i=20 then exit do
lo

在div做什么?
能正常使用不就行了。

你的DIV是用来javascript操作的是吧。
你每次都增加
<div id=..><table><tr><td>你的内容</td></tr></table></div>