ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[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-rule-width - **版本:CSS3** - 继承性:无 ### 语法: **column-rule-width**:[<length>](#) | thin | medium | thick **默认值**:medium ### 取值: [<length>](#):用长度值来定义边框的厚度。不允许负值medium:定义默认厚度的边框。thin:定义比默认厚度细的边框。thick:定义比默认厚度粗的边框。 ### 说明: **设置或检索对象的列与列之间的边框厚度。**参阅[border-width](#)属性 - 如果[column-rule-style](#)设置为none,本属性将失去作用。 - 对应的脚本特性为**columnRuleWidth**。 ### 兼容性: - 浅绿 = 支持 - 红色 = 不支持 - 墨绿 = 部分支持 - 橙色 = 实验性质 <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="experimentsupport">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="support">11.50</td> </tr><tr><th>版本</th> <td class="support">10.0</td> </tr></tbody></table> ### 写法: | 内核类型 | 写法 | |-----|-----| | Webkit(Chrome/Safari) | -webkit-column-rule-width | | Gecko(Firefox) | -moz-column-rule-width | | Presto(Opera) | column-rule-width | | Trident(IE) | column-rule-width | | W3C | column-rule-width | ### 示例: # column-rule-width:thin 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. On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices. # column-rule-width:medium 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. On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices. # column-rule-width:thick 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. On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices. # column-rule-width:10px 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. On the Web, tables have also been used to describe multi-column layouts. The main benefit of using CSS-based columns is flexibility; content can flow from one column to another, and the number of columns can vary depending on the size of the viewport. Removing presentation table markup from documents allows them to more easily be presented on various output devices including speech synthesizers and small mobile devices. Copyright © 2006-2012 [Doyoe](http://www.doyoe.com/). All Rights Reserved