HTML页面布局位置:链接: link.
commen.css
.fl {
float: left;
}
.fr {
float: right;
}
a {
text-decoration: none;
color: black;
}
input {
border: 0;
outline: none;
}
.ctr {
margin: 0 auto;
width: 1206px;
}
.clearfix:after{
content: "";
height: 0;
line-height: 0;
visibility: hidden;
display: block;
clear: both;
}
.greenColor {
color: #00B38A;
}
button {
border: 0;
outline: none;
}
reset.css
html {
background-color: #ffffff;
color: #000000;
}
* {
box-sizing: border-box;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
em,
strong,
b,
u,
i {
font-style: normal;
font-weight: normal;
}
ol,
ul {
list-style: none;
}
h1,
h2,
h3 {
font-size: 100%;
font-weight: normal;
}
input,
textarea,
select {
font-family: inherit;
font-size: inherit;
font-weight: inherit;
*font-size: 100%;
/*兼容IE*/
}
img {
border: 0 none;
}
input {
border: 0;
}