and the table cell . Every time you add a TR tag, this means that you are
dropping down to the next row. Every time you add a | tag, then you are starting a new cell inside of that row. I have listed the main elements below, along with
their most common attributes.
Attributes
align - aligns the table to the left, center or right.
bgcolor - defines the color of the background for the entire table.
border - defines the width of the border in pixels.
cellpadding - is the invisible space in between the content of the cell and the actual cell wall.
cellspacing - is the actual space (in pixels) between the two cells.
width - defines the width of the table in pixels or a percentage.
EXAMPLE:
Attributes
align - aligns the content of the row to the left, center or right.
bgcolor - defines the color of the background for the row.
valign - vertically aligns the content of the row to the top, middle or bottom.
EXAMPLE:
Attributes
align - aligns the content of the row to the left, center or right.
background - places a background image inside of the table cell.
bgcolor - defines the color of the background for the entire table.
colspan - stretches the length of the cells to 2 or more cell lengths.
height - defines the heights of the cell in pixels.
nowrap - is an attribute to lock the content so that it all stays on the same line.
rowspan - stretches the height of the cells to 2 or more cells.
valign - vertically aligns the content of the cell to the top, middle or bottom.
width - defines the width of the actual cell, in pixels or percentage.
EXAMPLE: |
-- (svillafania@geocities.com), October 23, 1998
Moderation questions? read the FAQ
| |