I have long list of data (for an example say States and their Abbreviations) I want to display in HTML table. Instead of displaying the data in 2 x 50 table I would like it more compact for larger screens (so the user does not have scroll up and down as much but still won't have to scroll horizontally)
So this would grow dynamically:
State | Ab ------------------- Alabama | AL Alaska | AK Arizona | AZ Arkansas | AR California | CA Colorado | CO Connecticut | CT
to:
State | Ab | State | Ab | -------------------------------------- Alabama | AL | California | CA | Alaska | AK | Colorado | CO | Arizona | AZ | Connecticut | CT | Arkansas | AR |
or this:
State | Ab | State | Ab | State | Ab | --------------------------------------------------------- Alabama | AL | Arkansas | AR | Colorado | CO | Alaska | AK | California | CA | Connecticut | CT | Arizona | AZ |
etc....
Depending on the screen width.
I am doing this in Rail 3 app with jQuery so I prefer jQuery solution but open to any ideas.