Jump to content

Specify max width of a table cell


ktsirig

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/177247-specify-max-width-of-a-table-cell/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.