Help:Wiki University Wikitext--Tables - Columns Only

Table with columns only
An easy way to show a long list of items such as counties in a state is to use a table with a single row. In this row have the number of cells to equal the number of columns you think you need to display the items you want to show. If you have a list of 100 items, you can create a table with one row with four cells in that row. Then you can place 25 items in each cell. This will create four columns with 25 items in each. This is a list of the counties in New Hampshire. The list of counties is in three cells in one row table to create a three column list: Here is the coding:  ADDITIONAL NOTES:
 * NOTICE that there is only one row (|-).
 * NOTICE there are three cells (|) in this row.
 * NOTICE we have used vertical-align attribute to keep text at the top of each cell.
 * If we wanted the width of the columns to be the same, we can insert our width attributes and whatever other attributes using inline style to the cell tag. Be sure to end with a pipe.


 * You can begin each item on the list with or without an asterisk (*). Adding asterisks will result in a bullet before each item.

Try these out


 Exercises Adair Andrew Atchison Audrain Barry Barton Bates Benton Bollinger Boone Buchanan Butler Caldwell Callaway Camden Cape Girardeau Carroll Carter Cass Cedar
 * Take this list of counties and make a five column list using just one ROW tag |- in a table.
 * Make all the columns of equal width
 * Alternate the colors of the columns with lightblue and lightgray.
 * Use padding of 5px.
 * Place a black line between the columns.
 * Do not use bullets points in this exercise.

Check your answers

 Quick Quiz
 * To have a list of items in six columns you need to create a table with one row and six cells.
 * A. True
 * B. False


 * A one row table looks better if the columns are of equal length.
 * A. True
 * B. False


 * To make the items on separate lines, you use  tags.
 * A. True
 * B. False

Check your answers