|
|
| Recent Changes Printable View Page History Edit Page | ||||||||||||||||||||||||
|
Content Last Modified on January 05, 2005, at 08:32 PM CST
Basic markupTables are created via use of the double pipe character: Example 1. Basic table. This markup: || border=1
|| cell 1 || cell 2 || cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates this table:
Header cells can be created by placing ! as the first character of a cell: || border=1
||! cell 1 ||! cell 2 ||! cell 3 ||
|| cell 1 || cell 2 || cell 3 ||
creates
This markup does not extend to !!, !!!, etc Alignment of cell contentsCell contents may be aligned left, centered, or aligned right.
Example 2. Changing alignment of cell contents. This markup: || border=1 width=100%
||!cell 1 ||! cell 2 ||! cell 3||
||left-aligned || centered || right-aligned||
creates this table:
Example 3. Default alignment of cell contents. This markup: || border=1 width=100%
||!cell default||!cell left ||
||default-aligned||left-aligned ||
creates this table:
Notice that the header and detail cells have different defaults. << Text formatting rules | PmWiki.DocumentationIndex | Simple tables 2 >> |
||||||||||||||||||||||||
| Recent Changes Printable View Page History Edit Page | ||||||||||||||||||||||||