html 网页注意事项

html 知识总结;
1.内外边距 去掉浮动

2.清除浮动
.clearfix:after {
content:"";
display: block;
clear:both;
}

3.内边距 外边距 boder 设置决定了是否有行分割线

4.用button代替input 便于调整样式

猜你喜欢

转载自www.cnblogs.com/xiaocongcong888/p/9448816.html