Welcome to WebmasterWorld Guest from 23.20.221.93

Forum Moderators: incrediBILL

Message Too Old, No Replies

Specify max width of a table cell

     
11:15 pm on Oct 10, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 26, 2005
posts:92
votes: 0


Hello all!
I wanted to ask if there is a way to specify certain width sizes for table cells in a table. The thing is that I have a table in one webpage that, if I leave the width of the TD cells unspecified, I usually end up with some cells being very wide because the text that is written inside them is very big and does not roll up automatically and other cells shrink and become very small in order for the total table not to lose its specified length.
Can I set a specific width for the cell that gets filled with many words so that the contents of this cell will wrap and not extend so much?
Thank you!
8:16 am on Oct 11, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 24, 2002
posts:894
votes: 0


<td width="50"> 50px wide

<td width="20%"> 20% of total table width