column-rule-width

  • Revision slug: CSS/column-rule-width
  • Revision title: column-rule-width
  • Revision id: 354815
  • Created:
  • Creator: FredB
  • Is current revision? No
  • Comment Various corrections

Revision Content

{{ CSSRef() }}

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 {column-rule-width: thick;}

Specifications

Specification Status Comment
{{ SpecName('CSS3 Multicol', '#crw', 'column-rule-width') }} {{ 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

  • {{ CSS_Reference:Columns() }}

Revision Source

<p>{{ CSSRef() }}</p>
<h2 id="Summary">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 class="cssprop">
  <li><dfn>{{ Xref_cssinitial() }}</dfn> {{ Cssxref("none") }}</li>
  <li><dfn>Applies to</dfn> all multi-column elements</li>
  <li><dfn>{{ Xref_cssinherited() }}</dfn> no</li>
  <li><dfn>Media</dfn> {{ Xref_cssvisual() }}</li>
  <li><dfn>{{ Xref_csscomputed() }}</dfn> 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 id="Syntax" name="Syntax">Syntax</h2>
<pre>
<code>column-rule-width:  &lt;border-width&gt;</code>
</pre>
<h2 id="Values" name="Values">Values</h2>
<dl>
  <dt>
    &lt;border-width&gt;&nbsp;</dt>
  <dd>
    See {{ cssxref("border-width") }}.</dd>
</dl>
<h2 id="Examples" name="Examples">Example</h2>
<pre class="brush: css">
#header {column-rule-width: thick;}
</pre>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
  <thead>
    <tr>
      <th scope="col">Specification</th>
      <th scope="col">Status</th>
      <th scope="col">Comment</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>{{ SpecName('CSS3 Multicol', '#crw', 'column-rule-width') }}</td>
      <td>{{ Spec2('CSS3 Multicol') }}</td>
      <td>&nbsp;</td>
    </tr>
  </tbody>
</table>
<h2 id="Browser_compatibility">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&nbsp;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>
</div>
<h2 id="See_also">See also</h2>
<ul>
  <li>{{ CSS_Reference:Columns() }}</li>
</ul>
Revert to this revision