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? Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.