Jump to content

Recommended Posts

Sometimes when I get a set of results in a table a column value can be much longer then the table column.

I don't want it to wrap into multiple lines as I want it to remain at the same height of a single row.

 

Instead if its too long I want to cut it and add three points (This is way too looooooooooo...) to signify it has been cut but that the row still remains at the same height.

 

I cant use fixed widths (substring or the like) as the table uses percentages and thus scales differently on different resolutions.

 

Anything that could help me out?

Link to comment
https://forums.phpfreaks.com/topic/74712-wrappingcutting-words-in-a-table/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.