I have a CGI/Perl script that generates a table with columns like this...
<form method="POST" <action="/cgi-bin/stuff.pl">
<table border="1" width="100%">
<tr>
<td><b>Select</b></td>
<td><b>Number</b></td>
<td><b>From</b></td>
<td><b>To</b></td>
<td><b>Subject</b></td>
<td><b>Reason</b></td>
<td><b>Date/Time</b></td>
</tr>
Sometimes the "From" field will have a long email address inside that will cause that one column to spam the width of the page. How can I force each column to be a certain width regardless of whats inside each box? I've tried specifically setting the width like below, but it doesn't work if there is a single email address (or word) that is longer than the width of the column.
<td width="50"><b>From</b></td>
Thanks,
Chris
<form method="POST" <action="/cgi-bin/stuff.pl">
<table border="1" width="100%">
<tr>
<td><b>Select</b></td>
<td><b>Number</b></td>
<td><b>From</b></td>
<td><b>To</b></td>
<td><b>Subject</b></td>
<td><b>Reason</b></td>
<td><b>Date/Time</b></td>
</tr>
Sometimes the "From" field will have a long email address inside that will cause that one column to spam the width of the page. How can I force each column to be a certain width regardless of whats inside each box? I've tried specifically setting the width like below, but it doesn't work if there is a single email address (or word) that is longer than the width of the column.
<td width="50"><b>From</b></td>
Thanks,
Chris