If you're looking to create a responsive design with multiple columns, setting the width of each column as a percentage and adding a min-width can help ensure your layout looks great across various screen sizes.
For example, if you want 3 columns, you could set each column's width to width:33%
and define a min-width based on the minimum resolution you are supporting. If you're targeting a resolution like 1024x768
, where the total width might be around 1000px, you can set a min-width:333px
.
This approach allows your columns to adjust based on the available space in the browser window. If the width is more than the minimum, the columns will expand accordingly. And if the width is less, the min-width ensures the layout remains intact.
Here's a helpful fiddle to get you started - jsfiddle.net/mvivekc/XwYDr
And for more in-depth tutorials on creating multi-column liquid layouts, check out these resources:
--
-- http://css-tricks.com/the-perfect-fluid-width-layout/