7,049
edits
(forgot this was here) |
m (spelling) |
||
Line 11: | Line 11: | ||
*Generally, things in a table look better when they're centered (with the exception of large blocks of text). Putting <code>style="text-align:center"</code> in the header will center all the text in every cell. | *Generally, things in a table look better when they're centered (with the exception of large blocks of text). Putting <code>style="text-align:center"</code> in the header will center all the text in every cell. | ||
*Generally, tables themselves look better when in the middle of a page. Put <code>align="center"</code> in the header to do this. | *Generally, tables themselves look better when in the middle of a page. Put <code>align="center"</code> in the header to do this. | ||
*Use <code>!</code> instead of <code>|</code> when starting cells that are headers. However, you still need to use a <code>|</code> to | *Use <code>!</code> instead of <code>|</code> when starting cells that are headers. However, you still need to use a <code>|</code> to separate parameters (such as colouring) from the cell's content. Example: | ||
<pre> | <pre> | ||
!make it red|put text here!!make it yellow|put text here | !make it red|put text here!!make it yellow|put text here |