Welcome to WebmasterWorld Guest from 54.159.240.93

Forum Moderators: incrediBILL

Specify max width of a table cell

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

5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



<td width="50"> 50px wide

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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month