文体输出为何不分段
<!--#include file="conn.asp"--><head>
<style type="text/css">
body{
color:#000000
font-family:"宋体";
word-spacing: normal;
}
.style_center{
text-align:center;
color:#cc66ff;
font-family:"宋体";
font-size:18px
}
</style>
</head>
<%
id=request.QueryString("id")
if id<>"" then
set rs=server.CreateObject("adodb.recordset")
sql="select * from news where id="&id
rs.open sql,conn,3,3
if rs.bof and rs.eof then
response.Write("参数错误")
else
rs("name")=rs("name")+1
rs.update()%>
<style>
.tb {table-layout:fixed}
</style>
<BODY>
<p> </p>
<table width="100%" border="2">
<tr bordercolor="2">
<td align="center" bordercolor="2"><span class="STYLE3"><span class="STYLE3"><%=rs("name")%> </span><span class="STYLE3">
</span> <span class="STYLE3 STYLE3"> </span></td>
</tr>
</table>
<p> </p>
<table width="100%" border="0">
<tr>
<td width="48%" align="center"><span class="STYLE3"> 发布于</span></td>
<td width="52%" align="left"><%=rs("time")%> </td>
</tr>
</table>
<p> </p>
<p> </p>
<table width="100%" border="1" bordercolor="#6699FF">
<tr>
<td><%=code(rs("content"))%><%= rs("tel")%> </td>
</tr>
</table>
<p> </p>
<table width="100%" border="0">
<tr>
<td width="51%" align="center"><a href="index.asp">回首页</a></td>
<td width="49%" align="center"><DIV align=center><a href="javascript:self.close();">『关闭窗口』</a> </DIV> </td>
</tr>
</table>
<p> </p>
<p>
<%end if
rs.close
set rs=nothing
end if
conn.close
set conn=nothing%>
</p>
[ 本帖最后由 zchliang 于 2007-8-20 22:13 编辑 ]