您好,欢迎访问一九零五行业门户网

为什么网页顶部会有一行空白的部分?_html/css_WEB-ITnose

如图,白色箭头指示的部分!
nbsp;html public -//w3c//dtd xhtml 1.0 transitional//en http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd>
活动
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 
height=252 width=547 classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>
pluginspage=http://www.macromedia.com/go/getflashplayer 
type=application/x-shockwave-flash width=547 height=252 
wmode=transparent menu=flase>
style=z-index: 4; left: 596px; width: 462px; position: absolute; top: 13px; height: 195px>
type=password class=style12 size=14 maxlength=4 />
注:
:/span>
温馨提示:
增值电信业务经营许可证:粤b2-20090059 b2-20090028
copyright © 1998 - 2012 tencent. all rights   reserved
粤府新函[2001]87号 粤网文[2011]0483-070号 网络视听许可证1904073号
回复讨论(解决方案) body有默认的margin
设置一下body{margin:0}就行了
margin,即页的边距,设置为0表示没有边距.
*{margin:0; padding:0;}
body有默认的margin
设置一下body{margin:0}就行了
加上这个就好了
body{margin:0; padding:0;}
其它类似信息

推荐信息