Table data width
<p>I'm writing <a href="http://www.phillipsenn.com/Index/Project2/" rel="nofollow">an editor</a>, and would like for the input field to be the width of the column.
So far, I have:</p>

<pre><code>$td.html('&lt;input name="test" value="' + $td.text() + '" size="' + $td.width() + '"&gt;');
</code></pre>

<p>The problem is: $td.width() is reporting numbers like 80 and 25, but the input needs to be in character widths.
Even though my css says:</p>

<pre><code>html {
    font-size:20px;
}
</code></pre>

<p>I don't see any relation between the $td.width() and the size attribute.  You would think it would be $td.width()/20.</p>
