Re: Tables

Drazen Kacar (dave@fly.cc.fer.hr)
Sun, 19 May 1996 15:49:15 +0200 (MET DST)


From: Drazen Kacar <dave@fly.cc.fer.hr>
Message-Id: <199605191349.PAA03536@fly.cc.fer.hr>
Subject: Re: Tables
To: ppinn@dra.nl (Thomas van Gulick)
Date: Sun, 19 May 1996 15:49:15 +0200 (MET DST)
Cc: www-html@w3.org
In-Reply-To: <1020.6713T891T512@dra.nl> from Thomas van Gulick at "May 19, 96 03:46:00 pm"

Thomas van Gulick wrote:
> 
> I know, actually what I want is not a table, it is something like a profile
> in the form:
> 
> Name          : xyz
> Age           : 201
> City          : aabbcc
> 
> etc. Previously I did it with <PRE></PRE>, but I don't like the fixed
> font and thus tried out <TABLE></TABLE> with CELLPADDING, CELLSPACING and
> BORDER set to 0, but this resulted in 'sticky' columns ie, the result for
> the above table would be:

You can use <table width="50%">. Or some other percentage of the window.

> 
> Namexyz
> Age 201
> Cityaabbcc
> 
> Using &nbsp; 3 times after ALL of the fields in the first column would
> solve the problem (using the &nbsp; trick in only one cell wouldn't: It
> is a proportional font and I have now knowledge of which cell will be
> the widest) but is not very 'clean'. I do not like this solution.

Use &nbsp; BEFORE all of the fields in the second column. Something like this:
<tt>&nbsp;&nbsp;</tt>xyz

--
Life is a sexually transmitted disease.

dave@fly.cc.fer.hr
dave@zemris.fer.hr