Re: Tables

Thomas van Gulick (ppinn@dra.nl)
Sun, 19 May 1996 20:02:24 +0200


Date: Sun, 19 May 1996 20:02:24 +0200
From: ppinn@dra.nl (Thomas van Gulick)
To: www-html@w3.org
Subject: Re: Tables
In-Reply-To: <199605191349.PAA03536@fly.cc.fer.hr>
Message-Id: <1147.6713T1147T2693@dra.nl>

>> 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.

Yes, but if both columns are 50 pixels width, and my whole screen is 4096
pixels width, I end up with a space of 1998 pixels. 

>> 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

Well, as I said, that's a solution, but not very nice.

Thomas
--