You are trying to make 120% width fit inside 100% wide table...  
Try putting 20% in each..

<table width="100%">
 <tr>
 <td width="20%"></td>
 <td width="20%">Text1</td>
 <td width="20%">Test2</td>
 <td width="20%">Test234</td>
 <td width="20%"></td>
</tr>
</table>



> <table width="100%">
> <tr>
> <td width="20%"></td>
> <td>Text1</td>
> <td>Test2</td>
> <td>Test234</td>
> <td width="100%"></td>
> </tr>
> </table>


-----Original Message-----
From: Tony Walker [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 4:41 PM
To: CF-Talk
Subject: RE: Table help


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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to