Can I start new row of CSS table cells without a row wrapper element? -


given markup this:

<div class="a">a</div> <div class="b">b</div> <div class="a">a</div> <div class="b">b</div> <div class="a">a</div> <div class="b">b</div> 

is possible style document this:

|-------|---------| |       |         | |     |    b    | |       |         | |-------|---------| |       |         | |     |    b    | |       |         | |-------|---------| |       |         | |     |    b    | |       |         | |-------|---------| 

(and if content in or b longer, neighbor grow match height)…

without additional markup?

i understand giving .a , .b display value of table-cell make 1 big row.

what’s solution?

not without flexbox, hasn’t landed in several major browsers yet, seems consensus.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -