Graphics Programs Reference
In-Depth Information
121
Figure 4-13: Two simple columns.
THREE SIMPLE COLUMNS
h e jump from two columns to three columns (see Figure 4-14) is pretty straightforward. Add
a
div
,
class
it appropriately, and l oat the columns.
.column
{
width
:
20%
;
margin
:
0
5%
;
float
:
left
;}
.two
{
width
:
30%
;}
.footer
{
clear
:
both
;}
<
div
class="column
one">...<
/
div>
<
div
class="column
two">...<
/
div>
<
div
class="column
three">...<
/
div>
<
div
class="footer">...<
/
div>

























Search WWH ::

Custom Search