只要加上
boby{ padding:0margin:0}
把body的内边框外边框置0就可以了,下级元素会自动继承的
如果试了不是这个问题的话,请帖代码
修改inc/newsdisp.asp
在demo=replace(rs("demo"),chr(10)+chr(13),"<br>")后添加定义:
title=rs("title")
在最后<javascript>里面添加
document.title="<%=title%>"
希望可以帮到你
代码修改:
<%
dim dbid
dim sql
dbid=request("id")
set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from HN_news where id="&dbid
rs.open sql,conn,1,3
rs("hotclick")=rs("hotclick")+1
rs.update
if rs("come")<>"" then come=rs("come") else come="未知" end if
if rs("auth")<>"" then come=rs("auth") else come="未知" end if
demo=replace(rs("demo"),chr(10)+chr(13),"<br>")
title=rs("title")%>
<link href="../css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<script>document.title="<%=title%>"</script>