Calculate different with for same class multiplying on page
<p>Im trying to build call to action button on my site using jQuery.</p>

<p>I have done it, but the only last problem I have is that I need to calculate width for .callright Problem is that the cWith is being inherited by other "buttons" instead of calculating new one for every single button on the page.</p>

<p>Im not sure if I made myself clear. My function bellow. Any help appresiated</p>

<pre><code> $(document).ready(function(){
    var MainClass = '.calltoaction'

    var c = $(MainClass)

    var cWidth = c.outerWidth()

    $('.callright').each(function(){

    $(this).css('width' , cWidth);

       });

    });
</code></pre>

<p>Thank you</p>
