CSS/Ruby on Rails - break list into three separate equal width columns

gaura

New Member
What's the best way to achieve something like this in a Ruby on Rails view with CSS:This is what I have now:
List Item 1 - is not too long
7iB5L.png
dwRRB.png

List Item 2 - very,very long and I don't want the "column" to be this large; I want it to wrap
7iB5L.png
dwRRB.png

List Item 3 - hello
7iB5L.png
dwRRB.png

This is what I want:
DZEUc.png
The List Items come from a Solution class; the thumbs up/down are votes that come from a Solution_votes class.Ideally, I would use a table with 3 columns, however, I am also using Axaj and JQuery to update and want to use an unordered list (to easily update using $('#items_list').prepend(new_item);).
 
Back
Top