The default drupal pager may be tricky for some developers to align to center, though its really simple. Simple as follows.


ul.pager{ 
text-align: center; 
}

ul.pager li {
border: 1px solid #bbb;
display: inline-block;
margin: 0px 5px 0 0;
padding: 5px 8px; 
}

Comments

comments

Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>