请高手帮我看看这个asp代码怎么改

来源:百度知道 编辑:UC知道 时间:2024/05/22 16:15:32
想在左边显示图片,右边显示正文,可是下面这段代码却是正好相反,不知道怎么改,哪位高手帮我看看,谢谢(百度中没法传图,引用的图片就不提供了)

set rs=server.createObject("Adodb.recordset")
rs.open sql,Conn,1,1
if rs.bof and rs.eof then
response.write "document.write (" & Chr(34) & "没有符合条件的文章" & Chr(34) & ");"
else
response.write "document.write (" & Chr(34) & "<table width=519 height=204 border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><img src=picly/lypicnews_01.gif width=260 height=10></td><td rowspan=3><img src=picly/lypicnews_02.gif width=25 height=204></td><td rowspan=3 width=234 height=204>" & Chr(34) & ");" & vbcrlf
do while not rs.eof
SrtTitleMaxLen=50
topic=Pl.GotTopic(rs("title"),Clng(SrtTitleMaxLen))
str=str & "<a href='" & SystemPath & "Article/ArticleShow.asp?ArticleID=" & rs("articleid") & &qu

你把源文件的的两个表格换一下不就行了,应该是这样吧,试试看,
<table>...</table>文字的
<table>...</table>图片的
把上面的两个换下

是不是要把图片和文字都放在那灰框里?