-1

Hey,
I have a table defined like

<table width="100%">
  <tr>
    <td>Some Content</td>
    <td>More Content</td>
  </tr>
</table>

This table displays something like

|------------------------|------------------------|
|Some Content            | More Content           |
|------------------------|------------------------|

The columns of the table will automatically resize based on there content however I want the first collumn to only be the width of its content however much content is in the first or second column I.E.

|------------|-------------------------------------|
|Some Content|              More Content           |
|------------|-------------------------------------|
|------------|-------------------------------------|
|Some Content|              a                      |
|------------|-------------------------------------|

How is this done?
Regards,
Sam Rudge

3
Contributors
3
Replies
6
Views
7 Years
Discussion Span
Last Post by samarudge
1
<table width="100%">
<tr>
<td>Content</td>
<td width='*'>More Content</td>
</tr>
</table>

Edited by almostbob: n/a

Votes + Comments
Usefull stuff =)
0
<table width="100%">
<tr>
<td>Content</td>
<td width='*'>More Content</td>
</tr>
</table>

Brilliant - why didn't I think of that =)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.