asp行排列,一行排2个

来源:百度知道 编辑:UC知道 时间:2024/06/07 05:41:32
asp行排列,一行排2个,下面是原始代吗!是竖排的!我想让他横排!请高手指点下!
<%
set RsPic=server.createobject("adodb.recordset")
sql="select top 1 * from Info where Sort2="&RsSort("id")&" and Ispic=1 ORDER BY id DESC"
RsPic.open sql,conn,1,1
if RsPic.eof or RsPic.bof then
Call NoPic("本类暂无图文信息")
end if
do while not RsPic.eof
Call Gaobei_ShowPic(RsPic("Pic"),RsPic(0),RsPic("Title"),16)
RsPic.movenext
loop
RsPic.CLOSE
SET RsPic=Nothing
%>

Call Gaobei_ShowPic(RsPic("Pic"),RsPic(0),RsPic("Title"),16)

问题出在这句上。

你可以用列表LI或DIV来显示,然后外部用CSS来控制它
内部只写管输出,外部只控制样式

你查找SUB Gaobei_ShowPic贴出来才行,或者加我QQ58361295