Comments on: column-width https://css-tricks.com Tips, Tricks, and Techniques on using Cascading Style Sheets. Tue, 11 May 2021 13:34:42 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: David Spector https://css-tricks.com/almanac/properties/c/column-width/#comment-1771914 Tue, 11 May 2021 13:34:42 +0000 http://css-tricks.com/?page_id=178795#comment-1771914 Columns are implemented incorrectly. You get to choose only the minimum (not maximum) column width. The user must scroll manually from the bottom of one column of text up to the start of the next column, so reading long text is difficult.

I want the columns to change intelligently:

If there is very little text, I want one column only (of a fixed given width, and optionally centered horizontally and optionally centered vertically), until the viewport height is reached. At that point there is one column, filling the available height. Then I want two columns, the first one as high as the viewport, the second one growing as the first one did.

If the entire width of the viewport is exceeded with one or more columns, I want the same column layout continued, but with a horizontal scrollbar added.

This design supports easy reading of any text.

]]>
By: Marc De Gagné https://css-tricks.com/almanac/properties/c/column-width/#comment-1605608 Fri, 16 Dec 2016 17:59:28 +0000 http://css-tricks.com/?page_id=178795#comment-1605608 Put the a.tag element display to inline-block instead of block. Solved my problem on Chrome.
Examples : http://codepen.io/mdgDesign/pen/qqLjbd
Merci!

]]>
By: Ori Ris https://css-tricks.com/almanac/properties/c/column-width/#comment-1604699 Tue, 25 Oct 2016 15:03:04 +0000 http://css-tricks.com/?page_id=178795#comment-1604699 Multi-column layout support:
Chrome: none!!!!

]]>
By: baudelot philippe https://css-tricks.com/almanac/properties/c/column-width/#comment-1599865 Thu, 25 Feb 2016 11:17:39 +0000 http://css-tricks.com/?page_id=178795#comment-1599865 Hi,

In your Code pen example (http://codepen.io/katydecorah/pen/9b18945fdfdc4d508bbcc336b2034eed) there is a problem when we resize .
Some piece of box appear on the top of few columns.
Is there a reason ?

]]>
By: Michael Hanon https://css-tricks.com/almanac/properties/c/column-width/#comment-1596069 Fri, 24 Jul 2015 18:33:22 +0000 http://css-tricks.com/?page_id=178795#comment-1596069 In reply to Michael Hanon.

Just saw the note about specifying how many columns if you use auto.

]]>
By: Michael Hanon https://css-tricks.com/almanac/properties/c/column-width/#comment-1596066 Fri, 24 Jul 2015 18:23:28 +0000 http://css-tricks.com/?page_id=178795#comment-1596066 Column width auto does not work in webkit. I did not test in FF.

]]>