页面重置reset.css

/*清除默认样式*/
body,html,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,a,p,textarea,td,button,embed{
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei";
    box-sizing: border-box;
}
html,body{width:100%;height: 100%;}
table{width:100%;border-collapse:collapse;border-spacing:0;border-spacing:0; }
ul,ol,li{ list-style: none; }
a{ text-decoration: none; display: inline-block; color: #000; }
body { line-height: 1; }
input{ border: 0; outline: 0; }
img{ max-width: 100%; border: none; }
tr td,tr th { word-break: break-all; }
.left{ float: left; }
.right{ float: right; }
/*清除浮动*/
.clearfloat:after{
	content: "";
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
  width: 0;
}
.pullleft{ text-align: left; }
.pullcenter{ text-align: center; }
.pullright{ text-align: right; }

猜你喜欢

转载自blog.csdn.net/weixin_43837268/article/details/85487941