.clear{clear:both;height:0; overflow:hidden;} ul,li{display:block;list-style:none;} height:0;是什么.clear{clear:both;height:0; overflow:hidden;}ul,li{display:block;list-style:none;}

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/17 20:32:46

.clear{clear:both;height:0; overflow:hidden;} ul,li{display:block;list-style:none;} height:0;是什么
.clear{clear:both;height:0; overflow:hidden;}
ul,li{display:block;list-style:none;}

clear 清楚浮动的.前面如果出现浮动的div 就用clear 清除一下不然会出问题的.本身不放东西
ul li 第一句是以块来显示的,第二句 没有样式(一般前面会有一个点,这样就是什么样式都没有)