This might work...
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="20%"></td>
<td width="80%">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
��� Tony
-----Original Message-----
From: David Delbridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 3:18 PM
To: CF-Talk
Subject: Re: Table help
Add "width=1" to columns #2 and #3. Remove the width= parameter from
column #4. Mind you, a column width of "1" will force line wrapping at
every single word, so you might adjust from 1 to something greater as
needed by your application.
Dave
--
David M. Delbridge
Circa 3000
ColdFusion Hosting
http://www.circa3k.com
Cedric Villat wrote:
>
> I'm messing around the width of a table and can't see to get it right. Let
> me explain what I am trying to do. I have 5 cells in 1 row. The first cell I
> would like to be 20% of the screen space. The middle 3 cells are filled with
> text and will be whatever width the text is (so no width specified). Then I
> want the last cell to just fill in the rest of the screen. What I have now
> is:
>
> <table width="100%">
> <tr>
> <td width="20%"></td>
> <td>Text1</td>
> <td>Test2</td>
> <td>Test234</td>
> <td width="100%"></td>
> </tr>
> </table>
>
> The problem with the above code is that the first cell is MUCH less than 20%
> of the screen. If I take off the 100% width from the last cell, the first
> cell is in fact 20%, but then the middle 3 cells are stretched to fit the
> screen width. Also, I guess you cannot specify % in a <td> since it is not
> reliable. How can I pad the remaining screen space in the last cell? Thanks.
>
> Cedric
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4