Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- MULTICOL specifies that all contained text will be displayed in
multi-column format. All columns will have the same width and data should
be spread evenly across each of the columns to achieve roughly equal
column heights.
- Attributes
- Cols
- 2 | 3
| 3.2 | IE
| M | N3B5
- Required? Yes
- Description:
This attribute indicates the number of columns the
contained data will be split into. The browser should try to evenly
distribute the content evenly across each of the columns in order to
achieve roughly the same column height.
- Values: Positive integers - default is 1.
- Gutter
- 2 | 3
| 3.2 | IE
| M | N3B5
- Required? No
- Description:
This attribute controls the amount of pixel space between columns.
- Values:
Specified as positive
integers with the default being 10
- Width
- 2 | 3
| 3.2 | IE
| M | N3B5
- Required? No
- Description:
This optional attribute is supposed to control the width of
an individual column. All columns are always the same width, so the
overall width of a multi-column layout should be (as specified by Netscape):
(cols * width) + ((cols - 1) * gutter)
However.
Through direct experimentation, this attribute seems to control the
TOTAL width of the column apparatus, not the width of each individual
column. The multi-column apparatus will remain left-justified if a
width results in an amount less than the overall browser window size.
If no WIDTH is specified, the default width is 100% [full screen width]
- Values:
Positive integer pixel values
or a percentage of the overall screen width.
Style Sheet Attributes
[More on Cascading Style Sheets]
- Class
- 2 | 3
| 3.2 | IE
| M | N4B2
- Required? No
- Description:
This represents an assigned semantic classification grouping(s) for the
current tag.
- Values:
Given as a comma separated list of alphanumeric characters. Class names
may contain spaces (multiple consecutive spaces treated as a single
space.)
- ID
- 2 | 3
| 3.2 | IE
| M | N4B2
- Required? No
- Description:
This assigns an alpha-numeric identifier that is unique
to this tag instance. Style sheets may use this attribute to reference
the current instance of this tag. Hyperlinks may also use this identifier
to serve as a destination.
- Values:
An alphanumeric string - initial character must be a letter followed
by alphabetic characters, digits, "-" or "."
characters. The allowable set of alpha-characters is restricted to the
A-Z and a-z set.
- Style
- 2 | 3
| 3.2 | IE
| M | N4B3
- Required? No
- Description:
This attribute is a text string that provides rendering style
information for the current tag.
- Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
- Example
- <multicol COLS=3
WIDTH=80% GUTTER=20>
This is multi-column layout text that should be distributed evenly
across 3 columns
</multicol>
- Parent Model
- %Block Format
Parent% |
%Multimedia
Parent% |
<Body> |
<Basefont>
- Content Model
- %Text% |
%Anchors% |
%Virtual Formatting% |
%Physical Formatting% |
%Line Break Content% |
%Multimedia Content% |
%Block Content% |
<address> |
<basefont> |
<Hx>
Tips & Tricks
- This is a brand new tag and only supported by the latest Netscape
versions. It is not a part of any HTML standard or draft and its use
is not at all recommended until wider support occurs.
- One has to wonder if Netscape will change its implementation of
the DIR list tag to that which was originally intended by the HTML
2.0 specification (multicolumn layout) now that their browsers have
this capability.
- Using the WIDTH attribute the way Netscape specifies is incorrect.
Use the WIDTH attribute to specify the overall width of the
multi-column structure.
- Robustness in layout is not very strong yet for this tag.
Browser Peculiarities
- Centering a MULTICOL structure does NOT work reliably yet. Using the
Center, Div, Heading, P or table cell tags in conjunction with MULTICOL
can have adverse effects on layout.
- Using WIDTH attributes that are too small will result in a multi
column layout where text runs into each other, thus making it
unreadable.
- MULTICOL structures are nestable, but this quickly becomes
unreadable.
Boring Copyright Stuff...