javascripthtml-table

HTML Table Wrap Column


I have a table where users input data into columns. Each time the user enters data a new column is created. After a while they have a TON of columns and I need them to wrap.

I know how to wrap the text inside the columns, but I need the entire column to wrap below the first column and so on.


Solution

  • You shouldn't use tables for this. You should use divs with "float: left" CSS style.

    Here is a working example: http://jsfiddle.net/3MEJ5/