网页中编码上方有空白的解决方法
1、只需要在css中加入全局属性即可解决代码如下:
2、@charset "ut酆璁冻嘌f-8";body,td,th {font-family: Ari锾攒揉敫al, Helvetica, sans-serif;font-size: 12px;}body {margin: 0px;padding: 0px;}*{margin:0;padding:0;list-style-type:none;}a,img{border:0;}a {color: #333333;}a:link {text-decoration: none;}a:visited {text-decoration: none;color: #333333;}a:hover {text-decoration: none;color: #0066CC;}a:active {text-decoration: none;color: #333333;}
3、完美解决,通用的全局属性
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:59
阅读量:57
阅读量:77
阅读量:45
阅读量:23