页面设计中经常使用的float属性。
设置浮动:
[img]http://css-tricks.com/wp-content/csstricks-uploads/web-layout.png[/img]
清楚浮动:
[img]http://css-tricks.com/wp-content/csstricks-uploads/unclearedfooter.png[/img]
[img]http://css-tricks.com/wp-content/csstricks-uploads/directionalclearing.png[/img]
参考:
[url]http://www.qianduan.net/about-float.html[/url]
设置浮动:
[img]http://css-tricks.com/wp-content/csstricks-uploads/web-layout.png[/img]
清楚浮动:
[img]http://css-tricks.com/wp-content/csstricks-uploads/unclearedfooter.png[/img]
[img]http://css-tricks.com/wp-content/csstricks-uploads/directionalclearing.png[/img]
参考:
[url]http://www.qianduan.net/about-float.html[/url]