Difference between revisions of "HTML table formatting"
Jump to navigation
Jump to search
m (→Examples) |
m (→Examples: nicer format) |
||
| Line 6: | Line 6: | ||
<TABLE border=5> | <TABLE border=5> | ||
| + | <TR><TD>blue</TD><TD>skies</TD><TR> | ||
| + | <TR><TD>pink</TD><TD>hearts</TD><TR> | ||
| + | <TR><TD>green</TD><TD>clover</TD><TR> | ||
| + | </TABLE> | ||
| + | |||
| + | |||
| + | <TABLE frame=box rules=all border=5> | ||
<TR><TD>blue</TD><TD>skies</TD><TR> | <TR><TD>blue</TD><TD>skies</TD><TR> | ||
<TR><TD>pink</TD><TD>hearts</TD><TR> | <TR><TD>pink</TD><TD>hearts</TD><TR> | ||
<TR><TD>green</TD><TD>clover</TD><TR> | <TR><TD>green</TD><TD>clover</TD><TR> | ||
</TABLE> | </TABLE> | ||
Revision as of 18:58, August 15, 2007
HTML table formatting is cumbersome and often perplexing. For instance, to get read of the hollow or "chiseled" borders between rows and columns, use this little-known format:
- <TABLE frame=box rules=all>
Examples
| blue | skies |
| pink | hearts |
| green | clover |
| blue | skies |
| pink | hearts |
| green | clover |