mozilla

Revision 27849 of column-width

  • Revision slug: CSS/column-width
  • Revision title: column-width
  • Revision id: 27849
  • Created:
  • Creator: BijuGC
  • Is current revision? No
  • Comment

Revision Content

{{template.CSSMozExtensionRef()}}

Summary

In Mozilla applications, -moz-column-width suggest an optimal column width. The actual column width may be wider or narrower to fit content appropriately.

  • Initial value: {{template.Cssxref("auto")}}
  • Applies to: block-level elements
  • Inherited: no
  • Percentages: N/A
  • Media: {{template.Xref_cssvisual()}}
  • Computed value: the absolute length

-moz-column-width was one of the proposals leading to the proposed CSS3 {{template.Cssxref("column-width")}} property.

Syntax

-moz-column-width:  {{template.Xref_csslength()}} | auto 

Values

<length>
indicates designer suggested width in any of the CSS length units.

Examples

.content-box {
  border: 10px solid #000000;
  -moz-column-width: 300px;
}

Specifications

See also

{{wiki.template('CSS_Reference:Columns')}}

Revision Source

<p> 
{{template.CSSMozExtensionRef()}}
</p>
<h3 name="Summary"> Summary </h3>
<p>In Mozilla applications, <code>-moz-column-width</code> suggest an optimal column width. The actual column width may be wider or narrower to fit content appropriately.
</p>
<ul><li> Initial value: {{template.Cssxref("auto")}}
</li><li> Applies to: block-level elements 
</li><li> Inherited: no
</li><li> Percentages: N/A
</li><li> Media: {{template.Xref_cssvisual()}}
</li><li> Computed value: the absolute length
</li></ul>
<p><code>-moz-column-width</code> was one of the proposals leading to the proposed <a href="en/CSS3_Columns">CSS3</a> {{template.Cssxref("column-width")}} property.
</p>
<h3 name="Syntax"> Syntax </h3>
<pre class="eval">-moz-column-width:  {{template.Xref_csslength()}} | auto 
</pre>
<h3 name="Values"> Values </h3>
<dl><dt>&lt;length&gt; 
</dt><dd>indicates designer suggested width in any of the CSS length units.
</dd></dl>
<h3 name="Examples"> Examples </h3>
<pre>.content-box {
  border: 10px solid #000000;
  -moz-column-width: 300px;
}
</pre>
<h3 name="Specifications"> Specifications </h3>
<ul><li><a class="external" href="http://www.w3.org/TR/css3-multicol/#column-width">CSS 3 multicol</a>
</li></ul>
<h3 name="See_also"> See also </h3>
<p>{{wiki.template('CSS_Reference:Columns')}}
</p>
Revert to this revision