spires Posted November 21, 2007 Share Posted November 21, 2007 Hi guys, Can someone help with simple problem. I have a TABLE that is set to width="300px" , However, when I write a long line of text, it forces the table to expand in size. Is there some code that allows it to wrap the text once it has hit the 300PX mark? Here the code. <table width="300" border="0" cellspacing="0" cellpadding="0"> <tr> <td>asdclkasdbjckashbdckajshbckajshdcbkajsbckjhabsdkjhasbdckjhabsdjkbchaskjdhbcakjshdbcakjshdbakjshdbckjashdbckajhdsbckajhbdckjahsbdckjhbkjhabsdkjchb</td> </tr> </table> Thanks for your help. Link to comment https://forums.phpfreaks.com/topic/78271-text-wrap-is-side-a-td/ Share on other sites More sharing options...
revraz Posted November 21, 2007 Share Posted November 21, 2007 This is a HTML question, not PHP. Link to comment https://forums.phpfreaks.com/topic/78271-text-wrap-is-side-a-td/#findComment-396100 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.