Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Pagination Links Problem
#4

[eluser]srpurdy[/eluser]
my guess is you have somewhere in your css an #pagination which probably defines the link as a larger sized div which makes the 2nd link appear under it. for example you probably have a specfic width or something or the css is designed to use the full width available. So each item is on a new line.

A Better option would be to make <div id="pagination"> inside the view file.

Code:
$config['cur_tag_open'] = '<a class="disabled" href="#">';
$config['cur_tag_close'] = '</a>';

for the active tag. so you can apply a style to the active page.

The way you have it now it's doing this.

<div id="pagination">1</div>
<div id="pagination">2</div>

I don't think that's what you really want...


Messages In This Thread
Codeigniter Pagination Links Problem - by El Forum - 09-27-2012, 02:59 AM
Codeigniter Pagination Links Problem - by El Forum - 09-27-2012, 04:58 AM
Codeigniter Pagination Links Problem - by El Forum - 09-27-2012, 07:15 AM
Codeigniter Pagination Links Problem - by El Forum - 09-27-2012, 09:17 AM
Codeigniter Pagination Links Problem - by El Forum - 09-28-2012, 07:02 AM
Codeigniter Pagination Links Problem - by El Forum - 09-28-2012, 08:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB