HTML Tables :
TABLE TAGS








The following properties can be added to the <table> tag:

Property Description
align=
left
center
right

left align table
center table
right align table
background=filenameimage inserted behind the table
bgcolor=#rrggbbbackground color
border=nborder thickness
bordercolor=#rrggbbborder color
bordercolordark=#rrggbbborder shadow
cellpadding=ndistance between cell and content
cellspacing=nspace between cells
nowrapprotects agains linebreaks, even though the content might be wider than the browser window.
frame=
void,
above,
below,
lhs,
rhs,
hsides,
vsides,
box

removes all outer borders
shows border on top of table
shows border on bottom of table
shows border on left side of table
shows border on right side of table
shows border on both horizontal sides
shows border on both vertical sides
shows border on all sides of table
valign=
top
bottom

aligns content to top of cells
aligns content to bottom of cells
width=
n,n
n,n%

minimum width of table in pixels
minimum width in percentage of window size


Note:
Table properties are set for the entire table.
If certain properties are set for single cells, they will have higher priority than the settings for the table as a whole.


 << PREVIOUS
READ MORE >>  
















DEVELOPER TIP!





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