HTML Tables :
ROW/CELL TAGS








These settings can be added to both <tr> and <td> tags.

PROPERTYDESCRIPTION
align=
left
right
center

aligns content to the left of cells
aligns content to the right of cells
aligns content to the center of the cells
background=filenamesets a background image for the cells
bgcolor=#rrggbbsets a background color for the cells
bordercolor=#rrggbbsets color for the border of cells
bordercolordark=#rrggbbsets color for the border shadow of cells
valign=
top
middle
bottom

aligns to the top of cells
aligns to the middle of the cells
aligns to the bottom of cells
width=
n
n%

specify a minimum width for the cells in pixels
specify a minimum width for the cells in percent of the table width
height=
n
n%

minimum height of cells in pixels
minimum height of cells in percentage of table height



These settings are only valid for <td> tags.

PROPERTYDESCRIPTION
colspan=nnumber of columns a cell should span
nowrapprotects agains linebreaks, even though the content
of a cell might be wider than the browser window
rowspan=nnumber of rows a cell should span


Note:
Settings for columns(<td> tag) have higher priority than settings for rows(<tr> tag).

Settings for cells (<tr> or <td> tags) have higher priority than settings for the table as a whole(<table> tag).


 << PREVIOUS
BACK TO MENU >>  
















DEVELOPER TIP!





     "Better Than Books - As Easy As It Gets!"