This will center any data within the cell.
What Is A Table?
| THIS
| IS A
| TABLE! |
| NOW
| see
| HOW! |
Well this Black and White on Blue is darn boring!!!! What can I do about it!
What Is A Table?
| THIS
| IS A
| TABLE!
| NOW
| see
| HOW!
|
|
Using Hexadecimal Color Codes (the same ones you use to define the body of a page in an earlier item) you can define each cell's characteristics, including font face.
What Is A Table?
| THIS
| IS A
| TABLE!
| NOW
| see
| HOW! |
|
That is the basic table intro. The next bit of information is more advanced so tackle it at your own risk.
Colspan and Rowspan
Say you want one of your rows to take up two or more columns or vice versa. This is where the COLSPAN and ROWSPAN tags come into play.
The easy one to use is COLSPAN. This tag determines how many columns across a cell of a table will be.
What Is A Table?
| THIS IS A TABLE! |
| NOW
| see
| HOW! |
What happens here is "NOW see HOW" takes up 3 cells in the second table row. Therefore, when the colspan is three, only one cell is shown for the top. This appears like this:
What Is A Table?
| THIS IS A TABLE! |
| NOW
| see
| HOW! |
If a colspan of two was used, one cell would be left over on the top row.
What Is A Table?
| THIS IS A
| TABLE! |
| NOW
| see
| HOW! |
What Is A Table?
| THIS IS A
| TABLE! |
| NOW
| see
| HOW! |
The rowspan is a little tricky to keep track of. Since the cell expands down a column the number of rows you specify, the other table rows will be short on cell..... Here's an example:
What Is A Table?
| THIS IS A TABLE!
| NOW |
| see |
| HOW! |
What Is A Table?
| THIS IS A TABLE!
| NOW |
| see |
| HOW! |
You see, the first row is "THIS IS A TABLE" and "NOW", but "THIS IS A TABLE" takes up three rows, thus one column is "borrowed" from the next two rows.
|