force column width in a table?

Giganews Newsgroups
Subject: force column width in a table?
Posted by:  David (david.brown66…@ntlworld.com)
Date: Fri, 4 Jul 2003

Hi,

I want to ensure one column in a table is always the same number of pixels
wide no matter what the screen resolution is set to on the visitors PC - the
other two columns can wrap away top their hearts content.

How do I do this please? The code below doesn't do it.

<table border="1" width="100%">
  <tr>
    <td width="180" valign="top">&nbsp;</td>
    <td width="*" valign="top">&nbsp;</td>
    <td width="*" valign="top">&nbsp</td>
  </tr>
</table>

Replies