smiling_flower Posted October 14, 2007 Share Posted October 14, 2007 How do I space out between "AAA" and "500" in a table so that it will not looked cramped?<html><body><table><tr> <td> <b><font color=#A864A8>C</font></b></td> <td>500</td> </tr><tr> <td> <b><font color=#A864A8> AAA</font></b></td> <td>500</td> </tr></table> Link to comment Share on other sites More sharing options...
Err Posted October 14, 2007 Share Posted October 14, 2007 You can make the <td> (cell) have padding or widths to them so you can separate the text from being so close to each other. <style type="text/css">td { padding: 4px; /* adds 4 pixels inside all <td> cells */}</style> You can also use width: 20%; for a width.http://www.w3schools.com/css/css_padding.asphttp://www.w3schools.com/css/pr_dim_width.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.