谁知道一些布局,排版得很漂亮的网站?

如题所述

<%
set rs=server.createobject("adodb.recordset")
sql="select * from news"
rs.open sql,conn,1,3

if rs.bof and rs.eof then
response.write " "
else
for i=0 to rs.recordcount-1
response.write"你的标题:"&rs("title")&" "
if (i mod 3)=0 and i<>0 then '(i Mod 3)=0 表示当i是3的整数倍时,例如3,6,9,也就是能被3整除的数,因为我看你无非是想一次显示三个标题后换行,每行显示三个标题
response.write"<br>"
end if
next
end if
%>
温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-07-26
相似回答