I have the following pagination: < 1 2 3 4 > .
Perfect, what happens, is that this page is in the middle of the page.
I can centralize the div
that will contain these numbers, but how can I centralize the numbers?
Remembering that these numbers are dynamic, I used these 4 as an example only, and still have the < & > arrows going to last and first page. Is there any plugin, or anything I can do with just CSS or will I have to do calculations with Jquery?
Do not yet set up the framework for this.
<ul>
<li><</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>></li>
</ul>
Remembering that the numbers 1 2 3 4 are examples, you can have only 1, 2, 3, 4, and so on.