frankieJr Posted May 1, 2007 Share Posted May 1, 2007 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 More sharing options...
vchris Posted May 1, 2007 Share Posted May 1, 2007 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 More sharing options...
frankieJr Posted May 2, 2007 Author Share Posted May 2, 2007 adding "..." at the end , lol , i never thought of that .. even better than the <br> i'll come up with a code to that .. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.