Jump to content

wrap text in table cell


frankieJr
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...