a simple table ...
left | left | left |
right | right | right |
center | center | center |
a simple table with a head & data cells ...
This is a table |
---|
left |
right |
center |
default |
different sized cols ...
This is a table | ||
---|---|---|
one | two two | three three three |
1 | 2 2 | 3 3 3 |
with head cells only ...
This is a table |
---|
left |
right |
center |
default |
more space around cell contents (cellPadding=50) ...
foo |
---|
left |
right |
center |
a fat border (border=3) ...
foo |
---|
left |
right |
center |
a very thick border (border=10) ...
foo |
---|
left |
right |
center |
fat cell borders (cellspacing=3) ...
foo | |
---|---|
left | left |
right | right |
center | center |
fat border & cell borders (border=5 cellspacing=5)...
foo |
---|
left |
right |
center |
fixed width (width=300)
foo |
---|
left |
right |
center |
relative width (width=50%)
foo |
---|
left |
right |
center |
fixed width; no border
foo |
---|
left |
right |
center |
no border
foo |
---|
left |
right |
center |
fixed width; no cell borders (width=200 cellspacing=0)
foo |
---|
left |
right |
center |
with forced breaks within a cell
foo |
---|
left1 left2 left3 left4 |
right1 longRight2 right3 |
center1 center2 |
a 2-col table ...
foo | foo bar and baz |
---|---|
left | left |
left | right |
left | center |
right | left |
right | right |
right | center |
center | left |
center | right |
center | center |
with defined cell-width of 200 ...
foo | foo bar and baz |
---|---|
left | left |
left | right |
right | left |
right | right |
center | left |
center | right |
with defined cell-width of 20% and 40% ...
foo | foo bar and baz |
---|---|
left | left |
left | right |
right | left |
right | right |
center | left |
center | right |
a table with mixed number of columns:
foo | foo bar and baz | |
---|---|---|
3 elements | ||
left | left | left |
center | center | center |
right | right | right |
2 elements | ||
left | left | |
left | right | |
left | center | |
right | left | |
right | right | |
right | center | |
center | left | |
center | right | |
center | center | |
1 element | ||
1 element left | ||
1 element centered | ||
1 element right |
mixed number of columns, fat border & fix width:
foo | foo bar and baz | |
---|---|---|
3 elements | something | something2 |
left | left | |
left | right | |
left | center | |
1 element centered | ||
right | left | |
right | right | |
right | center | |
1 element right | ||
center | left | |
center | right | |
center | center |
connect cells (colspan):
foo | foo bar and baz | |
---|---|---|
1st. two cols connected | 3rd col | |
1st col | 2nd & 3rd cols connected | |
three cols connected | ||
1st col | 2nd col | 3rd col |
connect rows (rowspan):
foo | foo bar and baz | |
---|---|---|
connected | 2nd col | |
1st col | 2nd & 3rd cols connected | |
three cols connected | ||
1st col | 2nd col | 3rd col |
table colors (bgcolor=red bordercolor=yellow) ...
This is a colored table |
---|
yellow |
default |
cell colors (color=...) ...
This has colored cells |
---|
text |
text |
text |
text |
text |
text |
text |
text |
text |
default cell |
table background (background=) ...
This is a table with a background |
---|
yellow |
default |
table with different height images ...
table background & image with href...
Check this ... |