Applying styles to multiple selectors
<p>Why doesnt the following apply the css rules to both elements?</p>

<pre><code>var prevElem = $('&lt;a href="#" class="'+ settings.prev +'" /&gt;').text('Prev');
var nextElem = $('&lt;a href="#" class="'+ settings.next +'" /&gt;').text('Next');
container.append(prevElem, nextElem);
$(prevElem, nextElem).css('top', container.height()/2);
</code></pre>

<p>Its only applied to prevElem. </p>

<p><strong>Please note that the dynamic elements have been added to the DOM (with their classes) so they are there.</strong></p>
