Help:Wiki University Wikitext--Tables - Columns Only

Table with columns only
Lets say you want to install a long list of items such as a list of counties for a state. However you think it would be better to the divided list up into columns so the list does not show as one very long column. Here is an example of a list of 114 counties that are in four equal columns. I think you will agree that these counties listed in four columns would be better than one column that has 114 items listed.

How to create column only tables
These tables are really only one row with cells to equal the number of columns you think you'll need.

The above table of counties is a table with only one row and four cells in that row. Each cell contains 29 counties. The last cell has 27 counties. Here is the final product:
 * When this was created, no one was concerned that items in the list match up with other items. This is not like a table of names and address where you want the addresses to stay with the named if it is sorted.
 * Here is coding only with a shortened list of counties:
 * NOTICE there is only one row tag.
 * NOTICE there is only one cell tag for each column.
 * If we wanted the width of the columns to be the same or the width of the table to go across the page we would insert our width attributes and whatever other attributes you would think would made it nicer looking.

 Exercises Check your answers >
 * Take our demonstration table and make it 900 pixels width and tall.
 * Then make the table scrollable both horizontally and vertically width a finish width and height of 400 pixels.

 Quick Quiz
 * When creating the horizontal scroll bar, you do not have to set the width.
 * A. True
 * B. False


 * Vertically scroll bars are only useful for very tall tables.
 * A. True
 * B. False


 * You cannot have horizontal and vertical scroll bars at the same time.
 * A. True
 * B. False

Check your answers >