0
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 center the div
which will contain these numbers, but how to do to centralize the numbers?
Remembering that these numbers are dynamic, I used these 4 only as an example, and still have the arrows < and >, that goes to last and first page. There is some plugin, or something I can do only with CSS or I will have to do calculations with Jquery?
Don’t set up the structure for that yet.
<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 example, can have only 1, 2, 3, 4 and so on.
It depends on how the HTML is. Include the code in the question.
– bfavaretto
Ever tried to use
ul li{display:inline}
? or that’s not what you need?– Antony Alkmim
@Antonyalkmim is not that.
– Felipe Viero Goulart