2
I need to centralize a result pagination using Bootstrap v2.1.0, I tried to put text-align in div but also failed. That’s the code I’m using:
<div class="row-fluid">
<div id="div_paginacao" class="span12">
<ul class='pagination pagination-centered'><li><!-- páginas --></li></ul>
</div>
</div>
I have also tried to put other spans above and below the div "div_paginacao" but also did not give. Actually I did, but when resizing the page, the spacing doesn’t decrease.
I tried with text-align but it didn’t work either
– Daniel Swater
bootstrap’s own text-center didn’t work ? post your css code to jsfiddle for analysis
– tiaguinhow
So buddy, I put the wrong version, I’m actually using the 2.1.0, so I can’t put the text-center class
– Daniel Swater
I had put it as solved, but I realized it was wrong when the pagination arrives at a certain number due to the size of the div. Has how to align a div with min-widht?
– Daniel Swater
min-width is for when you want a fixed minimum width, depending can even help in alignment, but that’s not what it’s for
– tiaguinhow