www.toxicbug.com




Tables


tables
<table>
<tr>
<td>...</td>
<td>...</td>
</tr>
</table>


<table>...</table>
  • BORDER="..." - width of border around table
  • BACKGROUND="http://www.toxicbug.com" - image for table background (IE)
  • BGCOLOR="..." - background color of table (RRGGBB)
  • BORDERCOLOR="..." -
  • WIDTH="..." - width of table in pixels or percentage to page
  • HEIGHT="..." - height of table in pixels or percentage to page
  • CELLSPACING="..." - pixels spacing between table cells
  • CELLPADDING="..." - pixel spacing between cells and content in cells
  • RHS - shows righthand side border
  • VSIDES - shows right and left side border

<tr>...</tr>
table row (across)
  • ALIGN="..." - alignment of row content
    • choices = LEFT, CENTER, RIGHT
  • VALIGN="..." - vertical alignment of row content
    • choices = TOP, MIDDLE, BOTTOM, BASELINE
  • BGCOLOR="..." - background color of row (RRGGBB)
  • BORDERCOLOR="..." - border color (RRGGBB)
  • HEIGHT="..." - height of row

<td>...</td>
table column (down)
used inside <tr> tag
  • ALIGN="..." - alignment of cell content
    • choices = LEFT, CENTER, RIGHT
  • VALIGN="..." - vertical alignment of cell content
    • choices = TOP, MIDDLE, BOTTOM, BASELINE
  • BGCOLOR="..." - background color of cell (RRGGBB)
  • BACKGROUND="http://www.toxicbug.com" - image for cell background (IE)
  • BORDERCOLOR="..." - border color (RRGGBB)
  • HEIGHT="..." - height of cell
  • WIDTH="..." - width of cell
  • COLSPAN="..." - how many columns to span
  • ROWSPAN="..." - how many rows to span
  • NOWRAP - forces text not to wrap in cell























www.toxicBug.com Resources

toxicbug.com v 4_3