急。。asp自动分段问题?感谢(有源码)
下面是我做的一个粗糙的页面,发布的文章都只有一整段,没有分段,实在很难看!我加了分段代码的可能不行,显示的还是一整段?请大家帮我看看下面这段代码有什么问题?初学很愚笨,请大家指教了!小弟感谢!
<!--#include file="css.css"-->
<!--#include file="conn.asp"-->
<html>
<head>
<title>测试</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
td {
font-size: 12px;
line-height: 200%;
text-indent: 25px;
margin-top: 0;
margin-bottom: 0;
VISIBILITY:
inherit;
WIDTH:100%;
Z-INDEX: 2
}
-->
</style>
<style type="text/css">
<!--
a:visited {
color: #000000;
text-decoration: none;
}
a:hover {
color: #ff0000;
text-decoration: none;
}
a:link {
color: #000000;
text-decoration: none;
}
-->
</style>
</head>
<%
set rs=server.createobject("adodb.recordset")
sql="SELECT * from wzxx where id="&request("id")
rs.open sql,conn,3,2
%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="600" border="1" align="center" cellpadding="0" cellspacing="0"
bordercolor="#333333">
<tr bordercolor="#FFFFFF">
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"
background="images/bj.gif">
<tr>
<td height="18" bgcolor="#FFd384"><strong>
color="#FF0000"><%=rs("lanmu")%></strong></td>
</tr>
<tr>
<td height="18" bgcolor="8799ad"><div align="center"><strong><font color="#FF0000"
size="+1"><%=rs("xinxibiaoti")%></strong></div>
</td>
</tr>
<tr>
<td height="9"><div align="center"><%=rs("number")%></div></td>
</tr>
<tr>
<td height="10"><div align="right">【<%=rs("riqi")%>】</div></td>
</tr>
<tr>
<td height="9">
<%=replace(rs("eee"),chr(10)&chr(13),"<br>")%> </tr>
<tr>
<td height="9" background="image/xx aaa.gif"> </td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
搜索更多相关主题的帖子:
源码 asp 分段 自动 感谢