TechBuzzPro

CSS column-count Not Working in Chrome? Fix It

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

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

  1. Confirm the property is actually applied. Open DevTools, select the element, and look at the Styles pane. If column-count is crossed out, another rule is overriding it. Check the Computed tab and search for column-count to see the winning value. If it is missing entirely, your selector does not match the element.
  2. Check the display value of the container. Multi-column layout works on block containers. If the element has display: flex, display: grid, display: inline, or display: contents, columns will not form. Set display: block on the container and test again. For inline elements, change them to display: inline-block or block.
  3. Make sure the container has a width. A container with width: auto inside 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.
  4. 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 set height: auto while testing.
  5. Look for conflicting layout properties. Properties such as float, position: absolute, position: fixed, and contain: layout can prevent column layout. Remove them temporarily to isolate the cause. Also check that no ancestor has display: flex or grid forcing the container into a different formatting context.
  6. 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 p or div.
  7. Test with a minimal example. Create a blank HTML file with a single div containing several paragraphs and apply only column-count: 3. If that works, the problem is in your page's CSS. Add your styles back one by one until columns break.
  8. 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).
  9. Check for vendor prefixes or syntax errors. Modern Chrome does not need -webkit-column-count, but an invalid value such as column-count: 3px will be ignored. Validate the declaration in DevTools; invalid values appear with a warning icon.
  10. 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-count to a flex or grid container. The property is ignored in those formatting contexts.
  • Forgetting that column-count is a shorthand-adjacent property; setting columns: 3 also works, but mixing columns and column-count can cause confusion if one overrides the other.
  • Expecting columns on an element with display: inline. Change it to block first.
  • Using column-count on a container whose children are all position: 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-count to auto.

Tips

  • Use column-gap and column-rule to make columns visible while debugging; a visible rule confirms whether columns exist.
  • Set break-inside: avoid on child elements you do not want split across columns.
  • Test with column-width instead of column-count to 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.