CSS设计中父元素包围其浮动的子程序
摘要:
父元素包围其浮动的子程序有三种方式:以下面的HTML为例 It's fun to float. Here is the footer element that runs across the bottom of the page.CSS:section{border:1px solid;margin:0 0 10px 0;}footer{border:1px solid red;}添加浮动:section {border:1px solid blue; margin:0 0 10px 0;} img {float:left;} footer {border:1px solid red. 阅读全文
posted @ 2014-02-26 17:05 wsdwdwf 阅读(355) 评论(0) 推荐(0)
浙公网安备 33010602011771号