User:Bethcottam/sandbox/Interm TABLE LESSONS 5-9

PRACTICE FOR INTERMEDIATE TABLE LESSONS 5-9

Lessons 5)Editing cells:use font-size; font-family;'mark; background-color; padding (place in every cell)

TOP ROW OF CELL CAPTIONS: border:1px solid red;

background-color: lightgreen

font-family: Rockwell

2nd ROW 1st CELL ATTRIBUTES

font-family: Rockwell

border:3px solid blue

font-size:20px

text-align:center

background-color:lightblue


 * CELL PADDING ADD: ;padding:10px    (...TO EACH CELL)


 * PADDING TO COLUMN LABELS...(only add to first cell to affect cells in row)

Wiki University Wikitext Lesson # 6--Tables - Rows

TO PLACE BACKGROUND COLOR IN THE HEADING ROW ADD THE ;background-color ATTRIBUTE TO THE ROW TAG:

CHANGING FONT-SIZE IN ROWS: INSTALL THE ;font-size:18px IN THE ROW TAG.

CHANGING FONT-SIZE IN ROWS: add it to the above changes like so: ; font-size:18px
 * -style="background-color:orange; font-family:Comic Sans MS;font-size:18px"

THESE ATTRIBUTES DO NOT WORK IN ROWS: width: text-align: border: padding:

THEY MUST BE PLACED IN EACH CELL TO FUNCTION:

CODING IN CELLS OVERRIDE CODING IN ROWS:

Coding in rows override coding in the table tags. This is handy to know in case you want to change an individual cell instead of deleting the coding in the row tag and then having to put coding in each cell of the row.

CHANGING COLUMNS:

Well how about columns, you ask. Sorry, there is no easy way to do columns. You have to place the codes in each of the cells of the column.