W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1998

Re: Columns

From: David J Woolley <djw@bts.co.uk>
Date: Mon, 28 Sep 1998 14:40:07 +0100
Message-Id: <199809281335.OAA00564@saracen.bts.co.uk>
To: www-amaya@w3.org, www-html@w3.org
> Theoretically the following markup should result in a column:
> 
> .columnleft {
>  width: 40%;
>  height: 300px
> }
> .columnright {
>  margin-top: -300px;
>  margin-left: 50%;
>  width: 40%;
>  vertical-align: text-top
> }
> 
> This can then be appleid to block elements such as DIV or P.

I wouldn't consider the effect you are trying to achieve to be true 
columns, which to me only make sense on paged media and allow the 
browser to select the column break position.  I would say the effect 
you are trying to achieve here should be done with two absolutely 
positioned divisions, possibly within a relatively positioned one.

> 
> However, Netscape totally ignores this.
> IE 4 ignores DIV and when P is used, you can see the right column box is

In my experience IE 4 understands divisions a lot better than NS 4. 

-- 
David Woolley - Office: David Woolley <djw@bts.co.uk>
BTS             Home: <david@djwhome.demon.co.uk>
Wallington      TQ 2887 6421
England         51  21' 44" N,  00  09' 01" W (WGS 84)
Received on Monday, 28 September 1998 10:23:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:19 UTC