Help:Wiki University Wikitext--Tables - Columns Only

Table with columns only
An easy way to show a long list of items such as counties of a state is to use a table with a single row with the number of cells to equal the number of columns you think will fix in the area you want to put it. In each cell you put equal number it items as you have in the other cells so the list of items is equal for each column or as equal as you can if there is not an equal number for each column. This is a list of the counties in New Hampshire that is in three cells in an one row table to create a three column list: Here is the coding: This is far simpler than creating a table with a cell for each county and trying figure out which row to put them. Here we have only one row with the number of cells to equal the number of columns we think we need.
 * NOTICE that there is only one row (|-).
 * NOTICE there is three cells (|) in this row.


 * 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 we think would make it nicer looking.

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.

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