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. In the first column list four fruits. In the second column, four vegetables. In the third column, four nuts. In the fourth colomn, four grains. 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.)

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.