<multicol> Syntax
Syntax Diagram for <multicol>
Opening Tag |
Content |
Closing Tag |
Open |
Parameter |
= |
Value |
Close |
<multicolNC |
colsNC |
=NC |
columnsNC |
>NC |
textNC |
</multicol>NC |
widthNC |
=NC |
pixelsNC |
gutterNC |
<multicol> Description
The text of a document contained between <multicol> and
</multicol> tags is split into multiple columns.
- cols
- Specifies the number of columns.
- width
- Specifies the width, in pixels, of each column.
- gutter
- Specifies the width, in pixels, of each gutter (the blank space between
columns). Defaults to 10.
The relationship between the above parameters is as follows:
total_width =
cols width +
(cols 1) gutter
<multicol> Examples
This markup (the horizontal rule is just for a size comparison):
At Gettysburg, Lincoln spoke these immortal
words at the close of the Civil War, that
great conflict the pitted brother against
brother, and father against son:
"Fourscore and seven years ago, our fathers
brought forth on this continent a new nation,
conceived in liberty, and dedicated to the
proposition that all men are created equal."
. . .causes the following to be displayed (remember that Internet Explorer
can't handle <multicol>):
At Gettysburg, Lincoln spoke these immortal
words at the close of the Civil War, that
great conflict the pitted brother against
brother, and father against son:
"Fourscore and seven years ago, our fathers
brought forth on this continent a new nation,
conceived in liberty, and dedicated to the
proposition that all men are created equal."
Last Modified: