calculating text width with jQuery
<p>I'm trying to calculate text width using jQuery. I'm not sure what, but I am definitely   doing something wrong. </p>

<p>So, here is the code:</p>

<pre><code>var c = $('.calltoaction');

var cTxt = c.text();

var cWidth =  cTxt.outerWidth();

c.css('width' , cWidth);
</code></pre>

<p>Thank you for your help in advance!</p>
