I guess I have the simplest problem ever and cannot find a ready solution.
I need to make a grid with fixed widths and a fixed distance between them.
I need x columns a 400px (x = total width/400), and during browser resizing, I would need this grid to shrink, column by column (columns must always keep their width size and distance between them).
The content flows over all columns and should spread out over all columns.
That's why I don't like any open-source grid system (Bootstrap, Skeleton, etc.) they all use %width, and columns always change the width on resizing.
What would be the simplest way?
Edit/Clarification:
This is how it looks without columns: http://jsfiddle.net/xjrt8qrm/16/show/
<div>See the fiddle</div>
I want it to have x columns. x is the maximum possible amount of 400px columns, depending on the user's resolution. I want only one row of columns, so the content spreads like on a newspaper from top to bottom.
So it will look somehow like this on a PC: https://i.stack.imgur.com/ycF2m.png (You can ignore the text/comments there).