|
|
| Recent Changes Printable View Page History Edit Page | ||||||||||||||||||||||||||||||||||||||
|
Content Last Modified on November 30, 2004, at 12:03 PM CST
Formatting tablesTable attributes: Any line that begins with Example 1. Changing border and alignment. This markup:
|| border=10 align=center
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
Example 2. Changing color. This markup:
|| border=1 bgcolor=red align=center
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
Example 3. Changing width with percent. This markup:
|| border=1 width=100% bgcolor=yellow
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
Example 4. Changing width with pixels and color with HTML. This markup:
|| border=1 width=350 bgcolor=#cccccc align=center
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
Example 5. Changing cellpadding. This markup:
|| border=1 width=350 cellpadding=10 align=center
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
Example 6. Changing cellspacing. This markup:
|| border=1 width=350 cellspacing=10 align=center
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
<< Simple tables | PmWiki.DocumentationIndex | Advanced tables >> |
||||||||||||||||||||||||||||||||||||||
| Recent Changes Printable View Page History Edit Page | ||||||||||||||||||||||||||||||||||||||