CodeIgniter Forums
How do you style ci pagination ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: How do you style ci pagination ? (/thread-31376.html)



How do you style ci pagination ? - El Forum - 06-16-2010

[eluser]dhaulagiri[/eluser]
How do we style pagination links generated from ci ?

Code:
echo $pagination['links'];



How do you style ci pagination ? - El Forum - 06-16-2010

[eluser]Burak Guzel[/eluser]
I usually enclose it in a div, and give it a CSS class, so I can style it with my stylesheets.

If you need to specifically alter the HTML output by the pagination class:
http://ellislab.com/codeigniter/user-guide/libraries/pagination.html
see the part about customizing the links