To display the 'previous' on the left side of the list item and the 'next' on the right side, aligned in a single line, how can this layout be achieved?
<ul style= 'list-style-type: none;' class="filter1">
<li><span class="filtercat1">red</span></li>
<li><span class="filtercat1">blue</span></li>
<li><span class="filtercat1">yellow</span></li>
<li><span class="filtercat1">all</span></li>
</ul>
<span id="filterbutton1">
<a href="#" id="prev">« Previous</a>
<a href="#" id="next">Next »</a>