关于留言版的样式偶尔出错的问题?

cloud_scorpion 2006-11-05 08:56:36
我作了一个简单的留言版,但当留言多了后,在某个留言上就会出现表格的某一条线不能显示的问题,不知道是怎么回事,这种现象不是一直出现,就是偶尔有,各位帮我看下阿。
显示留言表格的代码如下:
Sub ShowMsgContent() '显示留言的有关信息
Cout("<table width=""700"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">")
Cout("<tr>")
Cout("<td rowspan=""8"" width=1 bgcolor=""#666666""></td>")
Cout("<td></td>")
Cout("<td></td>")
Cout("<td></td>")
Cout("<td rowspan=""8"" width=1 bgcolor=""#666666""></td>")
Cout("</tr>")
Cout("<tr>")
Cout("<td height=""1"" valign=""top"" bgcolor=""#666666"" colspan=3></td>")
Cout("</tr>")
Cout("<tr>")
Cout("<td bgcolor=""#f5f5f5"" class=""text0"" width=300><font color=""#009933""> 标题:" & rs("UserName") & "</font></td>")
Cout("<td bgcolor=""#f5f5f5"" class=""text0"" width=300> " & rs("YouName") & "在 " & rs("MsgAddDate") & " 发表的</td>")
Cout("<td bgcolor=""#f5f5f5"" class=""text0"" width=100></td>")
Cout("</tr>")
Cout("<tr>")
Cout("<td height=""1"" valign=""top"" bgcolor=""#666666"" colspan=3></td>")
Cout("</tr>")
Cout("<tr>")
Cout("<td colspan=""3"" class=""text0"">")
Cout("<table width=""100%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">")
Cout("<tr>")
Cout("<td align=""center"" width=""40"">")
if (rs("MsgLocked") = True and Session(MsgAdmin) = "") then '如果留言被锁定
Cout("<font color=#ff0000>==已被锁定==</font>")
else
if (rs("YouFace") = "01") then
Cout("<img src=""pic/face/01.gif"" width=20 height=20>")
end if
if (rs("YouFace") = "02") then
Cout("<img src=""pic/face/02.gif"" width=20 height=20>")
end if
else
Cout(" ")
end if
Cout("</td>")
Cout("<td class=""text0"">")
Cout(rs("MsgContent")) '显示留言内容
Cout("</td></tr></table>")

end if
Cout("</td>")
Cout("</tr>")

Cout("<tr>")
Cout("<td height=""1"" valign=""top"" bgcolor=""#666666"" colspan=3></td>")
Cout("</tr>")
Cout("<tr>")
Cout("<td colspan=3 bgcolor=""#f5f5f5"" class=""text0"">")
Cout("<font color=""#ff6600""> 回复: </font>" & rs("MsgRevert")) '显示留言内容
Cout("</td>")
Cout("</tr>")
Cout("<tr>")
Cout("<td height=""1"" valign=""top"" bgcolor=""#666666"" colspan=3></td>")
Cout("</tr>")
Cout("</table>")
End Sub
效果请见:http://www.fm201.com/GuestBook.asp?PageNum=3
哪位知道请帮忙阿
...全文
227 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
什么都不能 2006-11-06
  • 打赏
  • 举报
回复
这个要自己调试了,不好回答.
cloud_scorpion 2006-11-06
  • 打赏
  • 举报
回复
ddddd

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧