Re: Newspaper Column Format
by "Billy O'Connor" <billy(at)kennet1.freeserve.co.uk>
|
Date: |
Wed, 27 Oct 1999 18:48:20 +0100 |
To: |
"Roger Stenning" <roger(at)isgwds.enterprise-plc.com> |
Cc: |
hwg-basics(at)mail.hwg.org |
References: |
|
|
todo: View
Thread,
Original
|
|
Hi Roger,
You can create Newspaper column style pages with CSS using the float
element, although it will only work in IE4 + (NN doesn't handle the float
element)... There is also no need for images (note the "border-right").
The code is below for anyone interested...
<DIV class="left">left column text goes here</DIV>
<DIV class="right">right column text goes here</DIV>
now for the CSS...
DIV.left {
width : 45%;
text-align : justify;
float : left;
padding-right : 0.5in;
border-right : solid-thin;
margin-left : 1cm;
}
DIV.right {
width : 45%;
text-align :justify;
float : right;
padding-left : 0.3in;
marging-right : 1cm;
}
HTH,
Bill.
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA