CSS style and pagination and other problems?! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CSS style and pagination and other problems?! (/showthread.php?tid=25860) |
CSS style and pagination and other problems?! - El Forum - 12-28-2009 [eluser]spezia 018[/eluser] HI, Sorry for my English. I put pagination in my project. and work fine. But : 1) Do not work css style. I wont my style for pagination ( blue box, white number...). I don't wont classic style like this 1,2,3 >> And I make same style in, example Quote: $config['next_link'] = '>';And nothnig work. How to add my css style for items(numbers , >>,<<) for pagination???? Controllers Code: ... Code: ... $pagination_config['last_link'] = 'End' I have last version of CI. And one picture to view my problems. Best Regards :-) CSS style and pagination and other problems?! - El Forum - 12-28-2009 [eluser]Twisted1919[/eluser] Why do you escape your values ? When doing : Code: $myvar = '<a href="http://www.google.com">Link</a>'; Code: $config['prev_tag_open'] = '<div class=\"bluewhite\">'; // Wrong CSS style and pagination and other problems?! - El Forum - 12-29-2009 [eluser]spezia 018[/eluser] No, is not. This don't fix my problem. Also I put <div id="...> and don't work. This is BUG or ???? When I put some another class, like red font I get like this in picture ( only one number is red, links not) In put some class for links,text,box... and don't work. Help! CSS style and pagination and other problems?! - El Forum - 01-31-2011 [eluser]arro[/eluser] use span to fix it.. $config['prev_tag_open'] = '<span class="bluewhite">'; $config['prev_tag_close'] = '</span>'; CSS style and pagination and other problems?! - El Forum - 01-31-2011 [eluser]InsiteFX[/eluser] Also these 2 lines are wrong! Code: // wrong Also you can set the class anchor like so: Code: $config['anchor_class'] = 'bluewhite'; InsiteFX |