CSS3 Multi Column

From CSScripting

Contents

Introduction

In short, the CSS3 Multi-Column Module is a functionality to flow the content of an element into multiple columns.

Image:Diagram-css3multicolumn.gif

The Multi-Column Module is part of the CSS3 specifications proposed by the W3C.

This extension to the CSS Box Model opens a new range of possibilities in terms of web design. Multi-column layouts that are so pervasive in the print media (think newspapers, magazines) can now become a reality on the web

Credit goes to:

Javascript Implementation

Demonstration

Visit the Demonstration Page for examples and test-cases.

Installation

  1. Upload The Script to your site.
  2. Attach The Script after the links to your stylesheet(s). Example:
    <link rel="stylesheet" type="text/css" href="stylesheet.css" />
    <script type="text/javascript" src="css3-multi-column.js"></script>
  3. You can now use any of these CSS3 multi-column properties in your stylesheet:


How To Contribute

The Code is the page that hosts the work in progress.

You can help make the code more polished, robust and elegant, one little edit at a time... For instance, by :

  • Commenting the code
  • Harmonizing naming or formatting practices
  • Adding functions skeletons
  • Optimizing a piece of code
  • Fixing bugs
  • Adding cross-browser support
  • Implementing functionalities
pkavubnsibcqqqebkxi