CloudEngineer Posted April 9, 2003 Share Posted April 9, 2003 How can I get a table to stay at a size, and not get bigger when I fill it with text, make the text on a new line automatically? table width="100%" border="1" cellspacing="2" cellpadding="0"> <tr> <td width="16%">sss</td> <td width="16%">aaa</td> <td width="16%">dff</td> <td width="16%">dsgfghfdhfdhdfhdfhdfhfdhfdhsdafdsafsadfsadfghhghhfdhdfhfhdfhdfhfdhdfh</td> <td width="16%">dsfgsdfgsdfg</td> <td width="16%">dfgdsfgdfsgdsfgdsfgdsgdsgdsf</td> </tr> </table> Link to comment Share on other sites More sharing options...
0 JimM17 Posted April 9, 2003 Share Posted April 9, 2003 set the table width to a number, not a percentage. This will restrict all content to a certain size and wrap text accordingly. Link to comment Share on other sites More sharing options...
0 CloudEngineer Posted April 9, 2003 Author Share Posted April 9, 2003 Its not working. I've tried taking out the % signs, and it wants to do the same thing. Could you maybe do it and give me a link to view source and see if I can imitate it? Link to comment Share on other sites More sharing options...
0 JimM17 Posted April 9, 2003 Share Posted April 9, 2003 sure http://www.vxaxv.com/tables.phtml Link to comment Share on other sites More sharing options...
0 CloudEngineer Posted April 9, 2003 Author Share Posted April 9, 2003 how do you do it so they are side by side? Link to comment Share on other sites More sharing options...
0 JimM17 Posted April 9, 2003 Share Posted April 9, 2003 check it again... anything else? :) Link to comment Share on other sites More sharing options...
0 CloudEngineer Posted April 9, 2003 Author Share Posted April 9, 2003 perfect, thanks mate Link to comment Share on other sites More sharing options...
0 JimM17 Posted April 9, 2003 Share Posted April 9, 2003 anytime Link to comment Share on other sites More sharing options...
Question
CloudEngineer
How can I get a table to stay at a size, and not get bigger when I fill it with text, make the text on a new line automatically?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts