I've read the questions about how it's basically impossible to have a fixed column height, fixed column width AND a fixed column gap (1, 2).
For example, in this JSFiddle, you can see the gaps changing when you change the width of the Result window.
However, I seem to have accomplished a fixed column height/width/gap by setting the 'display' CSS property of the column container to be 'inline-block':
#column {
column-width: 360px;
column-gap: 100px;
-webkit-column-width: 360px;
-webkit-column-gap: 100px;
white-space: normal;
display: inline-block;
margin-bottom: 30px;
height: 600px;
}
updated JSFiddle - gaps no longer change when changing window size, but now there's a huge vertical scrollbar! My hunch is this vertical space represents the space that the images would take up if they were in one giant column, because removing images actually shortens the amount of vertical space (lengths scrollbar).
- Why does setting 'display' to 'inline-block' alter the column gap behavior?
- Why does the inline-block property introduce so much vertical space?
I'm only seeing the extra long scrollbar in Chrome, and not in IE11.