ASP 图片调用问题 10

'//健康家居subhome_jkjj_img()setrs=conn.execute("selecttop2tp,bt,htmlfromnewswherelbidin(... '//健康家居
sub home_jkjj_img()
set rs = conn.execute("select top 2 tp,bt,html from news where lbid in(12,14) and zt=1 and lx=1 order by id desc")
do while not rs.eof
Response.Write "<table width=100% border=0 cellspacing=0 cellpadding=1><tr><td align=center valign=middle height=85>"&_
"<a href=html/"&rs("html")&" target=_blank><img src='"&rs("tp")&"' width=150 height=96 border=0></a>"&_
"</td></tr></table><table width=95% border=0 cellspacing=0 cellpadding=0 align='center' style='TABLE-LAYOUT: fixed'></table>"
rs.movenext
loop
rs.close
set rs=nothing
end sub

这个代码 我想叫图片横着显示怎么该呀

这个好象是竖着显示的 图片
展开
 我来答
dsheen
2009-09-16 · TA获得超过898个赞
知道大有可为答主
回答量:1874
采纳率:0%
帮助的人:1352万
展开全部
这样试一下?
sub home_jkjj_img()
set rs = conn.execute("select top 2 tp,bt,html from news where lbid in(12,14) and zt=1 and lx=1 order by id desc")
Response.Write "<table width=100% border=0 cellspacing=0 cellpadding=1><tr>"
do while not rs.eof
Response.Write "<td align=left valign=middle height=85>"&_
"<a href=html/"&rs("html")&" target=_blank><img src='"&rs("tp")&"' width=150 height=96 border=0></a>"&_
"</td>"
rs.movenext
loop
Response.Write "</tr></table>"
rs.close
set rs=nothing
end sub
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式