CSS column-count Not Working in Chrome? Fix It
In this article
If column-count appears to do nothing in Chrome, the cause is almost always one of three things: the element is not a block-level container, its height is collapsed so there is nothing to flow into columns, or a conflicting property such as display: flex, display: grid, float, or position: absolute has taken the element out of normal flow. Chrome does support multi-column layout, so the property itself is not the problem. Fix the container first, then check the children, then check for overrides in DevTools.
What You'll Need
- Google Chrome (any current version) with DevTools available via F12 or Ctrl+Shift+I (Cmd+Option+I on Mac).
- The HTML and CSS file you are working on, or access to the page in a browser where you can inspect it.
- A basic understanding of CSS selectors and the box model.
- Optionally, a code editor with live reload so you can see changes immediately.
Step-by-Step
- Confirm the property is actually applied. Open DevTools, select the element, and look at the Styles pane. If
column-countis crossed out, another rule is overriding it. Check the Computed tab and search forcolumn-countto see the winning value. If it is missing entirely, your selector does not match the element. - Check the display value of the container. Multi-column layout works on block containers. If the element has
display: flex,display: grid,display: inline, ordisplay: contents, columns will not form. Setdisplay: blockon the container and test again. For inline elements, change them todisplay: inline-blockorblock. - Make sure the container has a width. A container with
width: autoinside a shrink-to-fit parent, or one with zero width, has no room to split into columns. Give it an explicit width or ensure its parent gives it space. In DevTools, hover the element to see its box; if the width is 0, columns cannot render. - Check the height. Columns need content to flow vertically. If the container has a fixed small height and
overflow: hidden, content may be clipped before columns appear. Remove fixed heights or setheight: autowhile testing. - Look for conflicting layout properties. Properties such as
float,position: absolute,position: fixed, andcontain: layoutcan prevent column layout. Remove them temporarily to isolate the cause. Also check that no ancestor hasdisplay: flexorgridforcing the container into a different formatting context. - Verify the children are eligible. Multi-column layout distributes block-level children. If all children are inline elements with no block wrapper, or if they are absolutely positioned, they will not flow into columns. Wrap inline content in block elements such as
pordiv. - Test with a minimal example. Create a blank HTML file with a single
divcontaining several paragraphs and apply onlycolumn-count: 3. If that works, the problem is in your page's CSS. Add your styles back one by one until columns break. - Clear the browser cache or disable cache in DevTools. Chrome may serve an old stylesheet. With DevTools open, go to the Network tab and tick Disable cache, then reload. Alternatively, hard reload with Ctrl+Shift+R (Cmd+Shift+R on Mac).
- Check for vendor prefixes or syntax errors. Modern Chrome does not need
-webkit-column-count, but an invalid value such ascolumn-count: 3pxwill be ignored. Validate the declaration in DevTools; invalid values appear with a warning icon. - Update Chrome. Very old versions may have bugs, though multi-column support has been stable for years. Use the browser's own update mechanism (Menu > Help > About Google Chrome) and restart.
Common Mistakes
- Applying
column-countto a flex or grid container. The property is ignored in those formatting contexts. - Forgetting that
column-countis a shorthand-adjacent property; settingcolumns: 3also works, but mixingcolumnsandcolumn-countcan cause confusion if one overrides the other. - Expecting columns on an element with
display: inline. Change it to block first. - Using
column-counton a container whose children are allposition: absolute; absolutely positioned children are removed from the column flow. - Assuming a fixed height will create columns. Columns are created by content flow, not by height alone.
- Overlooking a more specific selector in a media query or a later stylesheet that resets
column-counttoauto.
Tips
- Use
column-gapandcolumn-ruleto make columns visible while debugging; a visible rule confirms whether columns exist. - Set
break-inside: avoidon child elements you do not want split across columns. - Test with
column-widthinstead ofcolumn-countto see if the browser is forming columns at all; if width works but count does not, the issue is likely a conflicting property. - In DevTools, the Layout pane (or the CSS pane's grid/flex badges) can show if the element is in a flex or grid context.
- Keep a minimal reproduction file; it speeds up isolating CSS conflicts.
Troubleshooting
If columns still do not appear after the steps above, work through these checks in order. First, confirm the element is not inside a parent with display: flex or display: grid that forces it to shrink; set the parent to display: block temporarily. Second, check for overflow: hidden on the container combined with a small height; remove the height. Third, inspect the Computed styles for column-count and column-width; if both are auto, your rule is not reaching the element. Fourth, disable all browser extensions that inject CSS, or test in an Incognito window with extensions disabled. Fifth, try a different Chrome profile to rule out user stylesheets. If the issue persists only on one page, compare its CSS with the minimal example; the difference is the cause. If it persists everywhere, update Chrome and check that hardware acceleration is not causing rendering glitches (toggle it in Settings > System). As a last resort, clear the browser cache and restart Chrome.
Frequently Asked Questions
Why does column-count work in Firefox but not Chrome?
Firefox and Chrome handle some layout edge cases differently, especially around flex and grid containers. Check that the container is a block-level element and that no flex or grid display is applied. Also verify that the value is a positive integer, not a length.
Does column-count require a prefix in Chrome?
No. Modern Chrome supports unprefixed column-count. The old -webkit-column-count is unnecessary and may be ignored or cause confusion if mixed with the standard property.
Can I use column-count on a flex item?
Yes, a flex item can itself be a multi-column container if its own display is block or another block-level value. The flex item's display is blockified by default, so columns can work, but if you set the item to display: flex or grid, columns stop working.
Why do my columns appear only when I resize the window?
This usually indicates a width-dependent layout or a media query that changes column-count. Check for @media rules that set column-count to auto at certain widths, and ensure the container has a stable width.
Does column-count work on replaced elements like images?
Multi-column layout applies to block containers. Images are inline by default and do not become columns themselves; they flow inside column boxes if wrapped in block elements. Setting column-count directly on an img has no effect.
What is the difference between column-count and columns?
columns is a shorthand for column-width and column-count. If you set both, the used value may differ from what you expect. For predictable results, set column-count alone or use columns with both values.