去掉h1,ul,li,a标签等默认样式,并添加左浮样式“.fl”右浮动“.fr”,清理浮动样式“.clear”
body{font-size: 12px;
}
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,dd{margin: 0px;
}
ul{
padding:0px;
list-style: none;
}
ol{
padding:0px;list-style: none;
}
img{display: block;
border: none;
vertical-align: top;
}
a{text-decoration: none;
}
strong{font-weight: normal;
}
em{font-style: normal;
}
.fl{float: left;
}
.fr{float: right;
}
.clear:after{content:'';
display: block;
clear:both;
}