Columns: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 78: Line 78:
*Shown here is another method to create two or more columns:  
*Shown here is another method to create two or more columns:  


Typing this <nowiki><div style="-moz-column-count:2; column-count:2;"></nowiki>
Typing this  
 
<nowiki><div style="-moz-column-count:2; column-count:2;"></nowiki>


Yields this:
Yields this:
Line 108: Line 110:
</div>
</div>


* An example for 3 colums;
* To create 3 columns, you can type this:
 
Typing this
 
<nowiki><div style="-moz-column-count:3; column-count:3;"></nowiki>


<div style="-moz-column-count:3; column-count:3;">
<div style="-moz-column-count:3; column-count:3;">

Revision as of 16:49, 3 February 2009

You can make multiple columns using the following syntax.

Typing this:

{{col-begin}}
 {{col-break}}
text
text
text
text
text
{{col-break}}

text
text
text
text
text
{{col-break}}
text
text
text
text
text
 

|}

Yields this:

  • Shown here is another method to create two or more columns:

Typing this

<div style="-moz-column-count:2; column-count:2;">

Yields this:

text

text

text

text

text

text

text

text

text

text

text

text

  • To create 3 columns, you can type this:

Typing this

<div style="-moz-column-count:3; column-count:3;">

text

text

text

text

text

text

text

text

text

text

text

text