| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 618 人关注过本帖
标题:表格图片不能换行?????
只看楼主 加入收藏
gjjcc
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2005-1-11
收藏
 问题点数:0 回复次数:1 
表格图片不能换行?????
图片不能换行,知道的朋友帮我改一下,横起3张图片,竖起4张图片,先谢过了!!!! <table border="0" cellspacing="0" cellpadding="0" align="center" width="540"> <tr> <% if request("Nclassid")="" then sql="select pic,reviewcount,id,showname,note,dayhits,weekhits,lasthits,hits,dateandtime,hot,size,orders from download where "&classid&" stop=0 " sql=sql&" order by "&order_name&" "&updown else sql="select pic,reviewcount,id,showname,note,dayhits,weekhits,lasthits,hits,dateandtime,hot,size,orders from download where "&classid&" "&Nclassid&" stop=0 " sql=sql&" order by "&order_name&" "&updown end if rs.open sql,conn,1,1 if rs.eof and rs.bof then response.write "<p align='center'>没有或没有找到任何彩图</p>" else totalPut=rs.recordcount if currentpage<1 then currentpage=1 end if if (currentpage-1)*MaxPerPage>totalput then if (totalPut mod MaxPerPage)=0 then currentpage= totalPut \ MaxPerPage else currentpage= totalPut \ MaxPerPage + 1 end if end if if currentPage=1 then showContent showpage totalput,MaxPerPage,"index.asp" else if (currentPage-1)*MaxPerPage<totalPut then rs.move (currentPage-1)*MaxPerPage dim bookmark bookmark=rs.bookmark showContent showpage totalput,MaxPerPage,"index.asp" else currentPage=1 showContent showpage totalput,MaxPerPage,"index.asp" end if end if rs.close end if sub showContent dim i i=0 %> <%do while not rs.eof%> <td width="100%" style="word-break:break-all"> <TABLE width=140 height=180 border=1 bordercolorlight=#5C7BAD bordercolordark=#FFFFFF cellPadding=0 cellSpacing=0> <tr><td> <a target="_blank" href="list.asp?id=<%=rs("id")%>"><img src="<%=HostUrl%><%=rs("pic")%>" border="0" width="128" height="128" alt="图片名称:<%=rs("showname")%><br>推荐程度:<%if rs("hot") = 3 then response.write "★★★"%> <%if rs("hot") = 4 then response.write "★★★★"%> <%if rs("hot") = 5 then response.write "★★★★★"%><br>下载次数:<%=rs("hits")%><br>下载说明:<%if len(rs("note"))>55 then%> <%=left(rs("note"),55)%>... <%else%> <%=rs("note")%> <%end if%>" class="paixu"></a> </td> </tr><tr align="center"> <td height="30" colspan="3">精美图片</td> </tr> </table> </td> <% i=i+1 if i>=MaxPerPage then exit do rs.movenext loop %> </tr> </table>
搜索更多相关主题的帖子: 表格 
2005-08-24 17:57
hxfly
Rank: 5Rank: 5
等 级:贵宾
威 望:17
帖 子:5810
专家分:118
注 册:2005-4-7
收藏
得分:0 
都是什么东西?
难道是WORLD的表格?

2005-08-25 08:00
快速回复:表格图片不能换行?????
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.037954 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved