I'm attempting to create a paging effect using CSS but I've run into a bit of confusion. I want to arrange all the li elements next to each other within a specified parent width so that they scroll horizontally.
<ul class="flow" style="width:200px">
<li class="selected">1</li>
<li><a href="#" title="Pagina 2">2</a></li>
<li><a href="#" title="Pagina 3">3</a></li>
<li><a href="#" title="Pagina 15">15</a></li>
</ul>
Check out my attempt on this Fiddle link. The issue I'm facing is that the li elements are breaking into new lines. How can I make them scroll horizontally in a single line?