User:WikiMaster/Tables & Columns

From PortlandWiki
< User:WikiMaster
Revision as of 17:33, 30 October 2011 by WikiMaster (Talk | contribs) (Create page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Wiki Tables & Wiki Columns

{{Multicol}} is used to start a multi-column section of a page. Between each block of column text insert {{Multicol-break}} and close the last column with {{Multicol-end}}. For example:
This text appears in the first column.
This text appears in the second column.
This text appears in the third column.
This page gives you information about syntax to build wiki-tables in MediaWiki.

Worthy Examples

This Wikipedia tutorial page shows a good example of tabbed layout.


People have trouble reading text if lines are too long; if it takes too long for the eyes to move from the end of the one line to the beginning of the next, they lose track of which line they were on. Therefore, to make maximum use of a large screen, authors should have limited-width columns of text placed side by side, just as newspapers do.
Q: I'm trying to create newspaper style columns using a block of text. I would like the text to be evenly spread out across 2 columns which could react to change of length in the text. Is this possible using just HTML/CSS, if not could javascript be used?
A: (One of the answers.) If you decide to do this, it is already possible in Mozilla and WebKit (and Prince) with only CSS:
selector {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;