How do I set display:inline-block on my addClass()
<p>How do I set my span will be <code>display:inline-block</code></p>

<pre><code>$("#checking").fadeTo(200, 0.1, function ()
 {
  $(this).html('Username is not available').addClass('cross').fadeTo(900, 1);
});
</code></pre>

<p>Current output</p>

<pre><code>&lt;span style="display: inline; opacity: 1;" id="checking" class="cross"&gt;Username is not available&lt;/span&gt;
</code></pre>

<p>In CSS I have set the cross class is <code>inline-block</code>.</p>

<p>Let me know how to make the <code>style="display: inline; opacity: 1;"</code> will be <code>style="inline-display: inline; opacity: 1;"</code></p>
