1

I am trying to create a layout similar to what the new Google+ layout and similar to this question (but using html).

Currently Google+ uses 1 div for each column. I am trying to see if there would be another way to do this.

Possibly the flexbox model of CSS3 would help but the compatibility level of it is ... meh.

I tried the inline-block model but going this way create rows that are not independent on each other's height.

There are existing solutions, but everything requires IE10+ or IE11+. I would need a solution that is IE7+ compatible. I don't see anything beside the div per column.

Has anybody had the occasion of doing something similar?

Community
  • 1
  • 1
Erick
  • 5,969
  • 10
  • 42
  • 61

1 Answers1

0

The CSS multi-column layout module can do what you're looking for.

http://codepen.io/cimmanon/pen/CcGlE

.foo {
    columns: 30em; /* desired number of columns and/or width of column */
}

Prefixes may be necessary. http://caniuse.com/#feat=multicolumn

cimmanon
  • 67,211
  • 17
  • 165
  • 171