HTML and CSS Reference
In-Depth Information
See Figure 17-1 for the results.
Figure 17-1. A simple two-column layout
The one thing the browsers won't do is automatically balance the text in
the columns, resulting in adjacent columns of approximately the same
length. You'll have to experiment with your document, manually shift-
ing text from one column to another until you achieve a nicely balanced
page.
Keep in mind, though, that users may resize their display windows, and
the columns' contents will shift accordingly. So don't spend a lot of time
getting the last sentences of each column to line up exactly; they're
bound to be skewed in other browser-window widths.
Of course, you can easily convert the example layout to three or more
columns by dividing the text among more cells in the table. But keep
Search WWH ::




Custom Search