css clear清除浮动属性如何写代码呢?
html xmlns=http://www。w3。org/1999/xhtmlheadtitle清除浮动属性clear/titlestyle type=text/css。lefttext{ float: left; height: 180px; width: 170px; border: 1px solid #b1d1ce; background-color: #5ae047;}。 foottext{ height: 180px; width: 170px; border: 1px solid #b1d1ce; background-color: #f3e13a;}。 clear{ c...全部
html xmlns=http://www。w3。org/1999/xhtmlheadtitle清除浮动属性clear/titlestyle type=text/css。lefttext{ float: left; height: 180px; width: 170px; border: 1px solid #b1d1ce; background-color: #5ae047;}。
foottext{ height: 180px; width: 170px; border: 1px solid #b1d1ce; background-color: #f3e13a;}。
clear{ clear:both;}/style/headbodydiv class=lefttext区块1/divdiv class=lefttext区块2/divdiv class=clear/divdiv class=foottext区块3/div/body/html。收起