put content inside a div with class
<p>i have an easy question, i have a div with some id, and inside there some different contents, that ends with some span separator, i want them to put in a div with class slide, anyway here is the structure to make it more clear:</p>

<pre><code>&lt;div id="adv"&gt;
 content 1 
 &lt;span class="separator"&gt;&lt;/span&gt;
 content 2
 &lt;span class="separator"&gt;&lt;/span&gt;
 etc...
&lt;/div&gt;
</code></pre>

<p>but i want it to have this structure:</p>

<pre><code>&lt;div id="adv"&gt;
 &lt;div class="slide"&gt;
  content 1 
  &lt;span class="separator"&gt;&lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="slide"&gt;
  content 2 
  &lt;span class="separator"&gt;&lt;/span&gt;
 &lt;/div&gt;
 etc...
&lt;/div&gt;
</code></pre>

<p>BTW, there is no need in spans with class separator, just content is enough for me, inside a div with class slide</p>

<p>Thank you all for the help!</p>
