就是图片怎么样才能让他横的排列 4个.谢谢了
<%sql="select top 8 title,adid,color,type_three,sex,pic,type_two,rmb,date from china_data where type_one='工作犬' and stop >= date() and mark=yes order by adid desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,1,1
if rs.eof then%>
暂无工作犬信息!
<%rs.close
set rs=nothing
else
i=0
do while i<8 and not rs.eof
%>
<img src="<% if lcase(left(rs("pic"),7))<>"http://" then%>adpic/<%end if%><%=rs("pic")%>"width="100" height="75" border="0" alt="<%=rs("title")%>" ><a title=<%=rs("title")%> href="html/<%=rs("adid")%>.htm" target="_blank"><font style="size:14px " <%if rs("color")<>"" then%>color="<%=rs("color")%>"<%end if%>><%=left(rs("title"),4)%></font></a><nobr><br>
<%i=i+1
rs.movenext
loop
rs.close
set rs=nothing
end if%>
[此贴子已经被作者于2007-4-21 18:02:33编辑过]