title: how to set input width as long as the text inside
body: <p>How can I set the with of <code>'&lt;input&gt;'</code> element equal to the content with?
  (The content is dynamic.)</p>
  
  <p>example:
  <a href="http://jsfiddle.net/WG86g/" rel="nofollow">http://jsfiddle.net/WG86g/</a></p>