timmah1 Posted November 1, 2007 Share Posted November 1, 2007 I hope the subject makes sense. I'm having problem that when when someone updates their stuff, especially like a bio, and don't use the enter key, what they type out is all on one line and when the information is displayed on their page, it stretches the whole page. I'm tried to do this <table width="250" border="0" cellspacing="0" cellpadding="4"> <tr> <td><? echo "$row[about]"; ?></td> </tr> </table> But that does nothing. How can I keep what was typed in porportion to the box that it's in? Link to comment https://forums.phpfreaks.com/topic/75633-displaying-a-variable-and-constraing-the-porportion-of-it/ Share on other sites More sharing options...
trq Posted November 1, 2007 Share Posted November 1, 2007 You might try using wordwrap. Link to comment https://forums.phpfreaks.com/topic/75633-displaying-a-variable-and-constraing-the-porportion-of-it/#findComment-382708 Share on other sites More sharing options...
timmah1 Posted November 1, 2007 Author Share Posted November 1, 2007 That works perfect! Thank you so much Link to comment https://forums.phpfreaks.com/topic/75633-displaying-a-variable-and-constraing-the-porportion-of-it/#findComment-382714 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.