You will need to specify the first two columns that should not be wrapped, and give the last column a width of 99%:
<table width="100%"> <tr> <td style="white-space: nowrap;"> <span> COLUMN </span> <span> ONE </span> </td> <td style="white-space: nowrap;"> COLUMN TWO </td> <td width="99%"> LAST </td> </tr> </table>
Edit: You should put all styles / presentations in (external ...) css.
Using classes for columns (instead of css3 selectors, such as nth-child() , if you focus only on modern browsers):
HTML:
<tr> <td class="col1">
CSS
.col1, .col2 { white-space: nowrap; } .col3 { width: 99%; }
jeroen Jun 29 '09 at 10:50 2009-06-29 22:50
source share