CodeIgniter Forums

Full Version: How do you style ci pagination ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

Code:
echo $pagination['links'];

El Forum

[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-gui...ation.html
see the part about customizing the links