Any block element can establish a new block formatting context if it has one of the
following property/value pairs set on it:
参考:
[url]http://www.communitymx.com/content/article.cfm?page=1&cid=6BC9D[/url]
[url]http://www.yuiblog.com/blog/2010/05/19/css-101-block-formatting-contexts/[/url]
following property/value pairs set on it:
float: left
float: right
position: absolute
display: inline-block
display: inline-table
display: table-cell
display: table
overflow: auto
overflow: scroll
overflow: hidden参考:
[url]http://www.communitymx.com/content/article.cfm?page=1&cid=6BC9D[/url]
[url]http://www.yuiblog.com/blog/2010/05/19/css-101-block-formatting-contexts/[/url]
本文介绍了如何通过设置特定的CSS属性来创建新的块级格式上下文,包括浮动、定位及显示属性等。
31万+

被折叠的 条评论
为什么被折叠?



