column-rule-width

  • Revision slug: CSS/column-rule-width
  • Revision title: column-rule-width
  • Revision id: 27897
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment 106 words added, 115 words removed

Revision Content

Summary

The column-rule-width CSS property lets you set the width of the rule drawn between columns in multi-column layouts.

  • {{ Xref_cssinitial() }}: {{ Cssxref("none") }}
  • Applies to: all multi-column elements
  • {{ Xref_cssinherited() }}: no
  • Media: {{ Xref_cssvisual() }}
  • {{ Xref_csscomputed() }}: absolute length; 0 if the column rule style is none or hidden

Syntax

column-rule-width:  <border-width>

Values

<border-width> 
See {{ cssxref("border-width") }}.

Example

#header {-moz-column-rule-width: thick;}

Specifications

Specification Status Comment
CSS Multi-column Layout Module Level 3 {{ Spec2('CSS3 Multicol') }}  

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }} 3.5 (1.9.1){{ property_prefix('-moz') }} 10 11.1 3.0 (522){{ property_prefix('-webkit') }}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatVersionUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

 

See also

{{ languages( { "ja": "ja/CSS/-moz-column-rule-width" } ) }}

Revision Source

<h2>Summary</h2>
<p>The<code> column-rule-width </code>CSS property lets you set the width of the rule drawn between columns in multi-column layouts.</p>
<ul> <li>{{ Xref_cssinitial() }}: {{ Cssxref("none") }}</li> <li>Applies to: all multi-column elements</li> <li>{{ Xref_cssinherited() }}: no</li> <li>Media: {{ Xref_cssvisual() }}</li> <li>{{ Xref_csscomputed() }}: absolute length;<code> 0 </code>if the <a href="/en/CSS/column-rule-style" title="en/CSS/column-rule-style">column rule style</a> is<code> none </code>or<code> hidden</code></li>
</ul>
<h2 name="Syntax">Syntax</h2>
<pre><code>column-rule-width:  &lt;border-width&gt;</code>
</pre>
<h2 name="Values">Values</h2>
<dl> <dt>&lt;border-width&gt; </dt> <dd>See {{ cssxref("border-width") }}.</dd>
</dl>
<h2 name="Examples">Example</h2>
<pre>#header {<code>-moz-column-rule-width: thick;</code>}
</pre>
<h2>Specifications</h2>
<table class="standard-table"> <thead> <tr style="background-color: rgb(255, 204, 255);"> <th scope="col">Specification</th> <th scope="col">Status</th> <th scope="col">Comment</th> </tr> </thead> <tbody> <tr> <td><a class="external" href="http://www.w3.org/TR/css3-multicol/#crw" title="http://www.w3.org/TR/css3-multicol/#crw">CSS Multi-column Layout Module Level 3</a></td> <td>{{ Spec2('CSS3 Multicol') }}</td> <td> </td> </tr> </tbody>
</table>
<h2>Browser compatibility</h2>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Chrome</th> <th>Firefox (Gecko)</th> <th>Internet Explorer</th> <th>Opera</th> <th>Safari (WebKit)</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td> <td>3.5 (1.9.1){{ property_prefix('-moz') }}</td> <td>10</td> <td>11.1</td> <td>3.0 (522){{ property_prefix('-webkit') }}</td> </tr> </tbody> </table>
</div>
<div id="compat-mobile"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Android</th> <th>Firefox Mobile (Gecko)</th> <th>IE Phone</th> <th>Opera Mobile</th> <th>Safari Mobile</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatVersionUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody> </table> <p> </p>
</div>
<h2>See also</h2>
<ul> <li><a href="/en/CSS_Reference" title="CSS Reference">CSS Reference</a></li> <li>{{ CSS_Reference:Columns() }}</li>
</ul>
<div class="noinclude"> <p>{{ languages( { "ja": "ja/CSS/-moz-column-rule-width" } ) }}</p>
</div>
Revert to this revision