图文从数据库中读出来,在这个页面实现自动分页,能实现吗?
<%
if id<>"" then
set rs=server.createobject("adodb.recordset")
sql="select * from news where newsort="&id
rs.open sql,conn,1,1
%>
<tr>
<td width="2%"> </td>
<td width="98%" valign="top" style="word-break:break-all">
<font color=#005757><%=rs("content")%></font>
</td>
</tr>
<%
rs.close
set rs=nothing
end if
%>
这是读取的这段代码,其中,content字段,是支持html的,也就是说,如何根据content的长度实现自动分页?因为不是按行或者页记录数来分,我也不知道怎么办了?
向各位大大请教,怎么实现这一功能?在线等!