assume you have
<span class='class'>gfdsdfgfdsg</span>
How can i calculate how match size in pixel, i need for it, before it is rendered. (I don't search for auto adjust, only calculation.)
assume you have
<span class='class'>gfdsdfgfdsg</span>
How can i calculate how match size in pixel, i need for it, before it is rendered. (I don't search for auto adjust, only calculation.)
 
    
    you can use use jquery.width() for this.
$('.class').width();
