User:Stais/Sandbox/Tables only

This is the wikitextcode for a Table with one row, populated with four cells class="wikitable" : wikitext code for borders on a table, background color of a light gray, padding around each word in the cells and each cell is enclosed with a border.

Create a table with four rows and four cells in each row. This table will be the basis for all future exercises on tables. (Be careful we are talking about columns not rows. This exercise will teach you how to arrange items in columns.)
 * In the first column list four fruits.
 * In the second column, four vegetables.
 * In the third column, four nuts.
 * In the fourth coloumn, four grains.

Add a border to the table

Add borders to the cells

With your table from the previous exercise, put a 15 pixel "ridge" border with a border color of "cornsilk."

Put a border for the whole table that is 15 pixels wide, "double" border with a border color of brown.

Put a blue border around the cells in the first column 1 pixel thick.

Make the page as wide as the page:

Make each cell 25% the same so all columns are the same width:

Place a green border,"inset" style and 25 pixels wide; 90% width; place a 1 pixel green border around the cells in the first row; make the first column 35% width, the second 15%, the third 25% and let the last column determine its own width.

Lets give the table a name or Caption

Let's make the Caption Font larger and change the font to New times roman. Use the margin-bottom to create space between the caption and table:

With our above table place a orange border, "outset" style and 25 pixels thick. Make the table 85% in width. Next place a border around the cells in the first column. Make all the columns the same width. Install our Healthy Foods caption; Font - Curtz MT Font - 28pt 20 pixel space between caption and top of table

Label the columns, border, background color, centered text