合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
[CSS参考手册](http://css.doyoe.com/)»[属性列表](#)»[多栏属性](#)» 相关内容: [**其它多栏属性参考**选择其它项](#) - [columns](#) - [column-width](#) - [column-count](#) - [column-gap](#) - [column-rule](#) - [column-rule-width](#) - [column-rule-style](#) - [column-rule-color](#) - [column-span](#) - [column-fill](#) - [column-break-before](#) - [column-break-after](#) - [column-break-inside](#) # column-break-before - **版本:CSS3** - 继承性:无 ### 语法: **column-break-before**:auto | always | avoid | left | right | page | column | avoid-page | avoid-column **默认值**:auto ### 取值: auto:既不强迫也不禁止在元素之前断行并产生新列always:总是在元素之前断行并产生新列avoid:避免在元素之前断行并产生新列 ### 说明: **设置或检索对象之前是否断行。** - 对应的脚本特性为**columnBreakBefore**。 ### 兼容性: - 浅绿 = 支持 - 红色 = 不支持 - 墨绿 = 部分支持 - 橙色 = 实验性质 <table class="gdataform"><thead><tr><th><a href="#browser" title="查看本文档测试时所用浏览器版本">支持版本</a>\类型</th> <th><span class="browser-ie">IE</span></th> <th><span class="browser-firefox">Firefox</span></th> <th><span class="browser-safari">Safari</span></th> <th><span class="browser-chrome">Chrome</span></th> <th><span class="browser-opera">Opera</span></th> </tr></thead><tbody><tr><th>版本</th> <td class="unsupport">6.0-9.0</td> <td rowspan="2" class="unsupport">4.0-9.0</td> <td rowspan="2" class="experimentsupport">5.1</td> <td rowspan="2" class="experimentsupport">13.0-16.0</td> <td rowspan="2" class="unsupport">11.50-11.60</td> </tr><tr><th>版本</th> <td class="support">10.0</td> </tr></tbody></table> ### 写法: | 内核类型 | 写法 | |-----|-----| | Webkit(Chrome/Safari) | -webkit-column-break-before | | Gecko(Firefox) |   | | Presto(Opera) |   | | Trident(IE) | column-break-before | | W3C | column-break-before | ### 示例: # column-break-before:always This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns. 不管上一列有没有填满,我都另起一列 This module describes multi-column layout in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns. Copyright © 2006-2012 [Doyoe](http://www.doyoe.com/). All Rights Reserved