ktsirig Posted October 10, 2009 Share Posted October 10, 2009 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! Quote Link to comment Share on other sites More sharing options...
Hybride Posted October 19, 2009 Share Posted October 19, 2009 I know this is deprecated, however, you can try and use: <td width="xxx"></td> or if you are going to the CSS way, <style type=”text/css”> <!-- td{max-width: xxxpx;} --> </style> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.