jalen Posted May 30, 2009 Share Posted May 30, 2009 I have a comment field where user enters comments, and sometimes this comments can be long and sometimes short. when it is long, I would like to have it go down to the next line after I set the table data with in a table of a percent. so far my code and how I see it is that if too much data is enter, it doesn't go to the next line but it went all the way, so if more datas are enter it goes all the way to the right. <table border=1 width=80%> //left table data <td width=45%> A </td> //right table data <td><div> while loop is here <table><td width=100> comments is enter here </td></table> end while loop SCROLL is here </div></td> </table> when someone enter too much data, the data is going over the 100% it doesn't go to the next line as I would like. Let me know if you know how to do this? thanks Link to comment https://forums.phpfreaks.com/topic/160293-div-background-color00ffff-width600px-height500px-overflow-scroll/ Share on other sites More sharing options...
jxrd Posted May 30, 2009 Share Posted May 30, 2009 You need to use a table row probably. Link to comment https://forums.phpfreaks.com/topic/160293-div-background-color00ffff-width600px-height500px-overflow-scroll/#findComment-845909 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.