[Javascript] css attribute for <TD> width

Dan Costea costea at ssi-schaefer-noell.com
Thu Feb 21 09:42:23 CST 2002


    Hi, 

I have a table like this:

<table border cellpadding=0 cellspacing=0>
 <tr>
  <td><div style="width:120pt; word-wrap: break-word; background: red;"> asldkjf alsdk jfalsk asldas afja a</div></td>
  <td><div style="width:60pt; word-wrap: break-word; background: red;"> asldkjf alsdk jfalsk aslsa as ddfja a</div></td>
  <td><div style="width:19pt; word-wrap: break-word; background: red;"> asldkjf alsdk jfalskasdf asdf asldfja a</div></td>
  <td><div style="width:150pt; word-wrap: break-word; background: red;"> asldkjf alsdk jfalsk aasdsldfja a</div></td>
  <td><div style="width:220pt; word-wrap: break-word; background: red;"> asldkjf alsk asldfja a</div></td>
 </tr>
</table>

How can I set ALL columns (including the third) to be of the minimum width? (to not let empty space in the left)


Thanks, Dan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020221/ffa5a14a/attachment.htm>


More information about the Javascript mailing list