[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
HTMLSPEC-MULTICOL

Multicol

Usage

Used to support multicolumn text. <multicol> differs from the <table> element in that <multicol> allows text to continue from one column to another. All <multicol> columns must be the same width.

Attributes

cols="#"


Specifies the number of columns to be included. (required)

gutter="#"


Specifies the number of pixels separating the columns.

width="#"


Specifies the width of pixels of each column.

Code Tip

The <multicol> element has limited features compared to the <table> element. In most cases, the <table> element would provide greater efficiency when dealing with organizing columns of text.

Live Example

<html>
<head><title>MULTICOL Document Example</title></head>
<body>
<multicol cols="2" gutter="10">
This text will flow from one column to the next with ten pixel values dividing the two columns.
</multicol>
</body>
</html> 


HTML Tags Center

last edited (April 12, 2004) by leeos, Number of views: 1195, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.