Jump to content

wrap text in table cell


frankieJr

Recommended Posts

hey all , i've been looking for a way to wrap a text without whitespaces in a cell .. so if a user enter a string like easffassfdasdgfsdgsdgsdsfds it takes more space than allowed and the table expand .is there a way to add a line break ( maybe in other language .. i'm using php ) , i would be thankful if someone helped me here .. i really have much bigger problems now in php and dont think i can handle html issues .. lol :) plz its so annoying

Link to comment
Share on other sites

I had an issue like that before so with php if the string was longer than 25 chars then I would add ... at the end. In your case you could just add <br /> instead. I'm not sure of the exact code to do this.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...