- From: Thomas van Gulick <ppinn@dra.nl>
- Date: Sun, 19 May 1996 20:02:24 +0200
- To: www-html@w3.org
>> 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 3 times after ALL of the fields in the first column would >> solve the problem (using the 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 BEFORE all of the fields in the second column. Something like > this: > <tt> </tt>xyz Well, as I said, that's a solution, but not very nice. Thomas --
Received on Sunday, 19 May 1996 13:10:00 UTC