Column-Span Property

Last updated: 2026-09-13

column-span Column-Span Property

The column-span property specifies whether an element spans multiple columns. Set to all, the element spans every column; it is commonly used for headings or subheadings in a multi-column layout so they stand apart visually from the columned content.

Category
Initial Valuenone
InheritedNo
Applies To
Animation Type
CSS VersionCSS3
StatusStandard

📝 Syntax

column-span: none | all;

⚙️ Values

ValueTypeDescription
none | allKeywordWhether the element spans columns.

▶ Example

Edit the code below and see the live result in the playground:

🌐 Browser Support

Browser ChromeChrome EdgeEdge FirefoxFirefox SafariSafari OperaOpera
column-span v57 v12 v52 v10.1 v44
Supported in all major browsers
Tip: column-span:all pairs well with headings in multi-column layouts, letting the title span all columns for a clearer article structure.
Warning: column-span only affects the element itself; it does not change other elements' column distribution. Support was limited in older versions of Firefox, so check compatibility.

❓ FAQ

QCan column-span span a specific number of columns?
ANo. column-span has only two values, none, which does not span and is the default, and all, which spans every column, so you cannot span just 2 or 3 columns. To partially span columns, you would have to simulate it with nested multi-column containers or switch to a grid layout. This is a deliberate limitation of the CSS Multi-column spec and cannot be worked around with a value.
QWhich elements can use column-span?
Acolumn-span applies to block-level elements in the top-level flow of a multi-column container. The most common cases are headings, h1 through h6, subheadings, and pull-quotes that span all columns as a visual divider. It cannot be used on elements nested inside a column, and browser support varies; older browsers may simply ignore it, so treat it as progressive enhancement and always design the single-column fallback first.
QWhy isn't column-span:all taking effect?
APossible reasons: first, the element is not a direct block-level child of the multi-column container; second, the browser is too old, because cross-column support was incomplete in some versions and early Firefox builds had limited support; third, the multi-column container itself is not active, with only one column. First confirm the columns render, then check the element's position in the hierarchy.
QDoes column-span break the reading order of multi-column text?
ANo. A column-span:all element splits the multi-column text into two sections: the columns above it fill first, then the spanning element is shown, then the columns below it continue. Reading order still follows the document flow; the spanning heading simply forces a full-width row. So placing a spanning title at the top keeps the body flowing normally below it, and the same holds for spanning elements in the middle of the content.

📚 Related Tutorials

Web-Tutorial.com

Web-Tutorial Tech Team

A team of developers maintaining programming tutorials. Each tutorial is written and reviewed by developers with expertise in that field. We work to keep our content accurate and reliable — if you spot an issue, please let us know.

100%

🙏 帮我们做得更好

我们是刚上线的编程教程站,几个人的小团队,精力有限。页面虽经检查,难免还有疏漏——链接失效、排版错乱、内容有误、语言生硬……

如果您发现了,麻烦告诉我们,我们会在收到反馈后第一时间进行修复,再次感谢您的光临 🙏