Is there a way to cut and paste or clone CSS from one element to another using JQuery?
<p>I have a situation where I'm wrapping an image with a span and I want to remove all the CSS from the image and apply it to the span. Is there a way to do this with JQuery?</p>

<p>JQuery:</p>

<pre><code>$(img).wrap('&lt;span /&gt;');
</code></pre>

<p>Style Sheet:</p>

<pre><code>img { border: 5px solid red; padding: 10px; … needs to allow for anything }
</code></pre>

<p>I would like to do this with out editing the HTML or CSS. I need a way to truly remove the CSS from one element and place it on another.</p>
