title: Custom css for paging in codeigniter
body: <p>I need a little help here,</p>
  <p>I want using paging CodeIgniter.</p>
  <p>Here my piece code for showing the paging.</p>
  <pre><code>    $this-&gt;load-&gt;library(&quot;pagination&quot;);
      $config = array();
      $key = $this-&gt;input-&gt;get_post('qfront');
      $config[&quot;base_url&quot;] = base_url() . &quot;source/&quot;;
      $config[&quot;total_rows&quot;] = $this-&gt;fetch_count($key)-&gt;count;
      $config[&quot;per_page&quot;] = 10;
      $choice = $config[&quot;total_rows&quot;] / $config[&quot;per_page&quot;];
      $config[&quot;uri_segment&quot;] = 2;
      $config[&quot;num_links&quot;] = round($choice);
      $config['full_tag_open'] = '&lt;div class=&quot;pagination&quot;&gt;&lt;ul&gt;';
      $config['full_tag_close'] = '&lt;/ul&gt;&lt;/div&gt;&lt;!--pagination--&gt;';
  
      $config['first_link'] = '&amp;laquo; First';
      $config['first_tag_open'] = '&lt;li class=&quot;prev page&quot;&gt;';
      $config['first_tag_close'] = '&lt;/li&gt;';
  
      $config['last_link'] = 'Last &amp;raquo;';
      $config['last_tag_open'] = '&lt;li class=&quot;next page&quot;&gt;';
      $config['last_tag_close'] = '&lt;/li&gt;';
  
      $config['next_link'] = 'Next &amp;rarr;';
      $config['next_tag_open'] = '&lt;li class=&quot;next page&quot;&gt;';
      $config['next_tag_close'] = '&lt;/li&gt;';
  
      $config['prev_link'] = '&amp;larr; Previous';
      $config['prev_tag_open'] = '&lt;li class=&quot;prev page&quot;&gt;';
      $config['prev_tag_close'] = '&lt;/li&gt;';
  
      $config['cur_tag_open'] = '&lt;li class=&quot;active&quot;&gt;&lt;a href=&quot;&quot;&gt;';
      $config['cur_tag_close'] = '&lt;/a&gt;&lt;/li&gt;';
  
      $config['num_tag_open'] = '&lt;li class=&quot;page&quot;&gt;';
      $config['num_tag_close'] = '&lt;/li&gt;';
      $this-&gt;pagination-&gt;initialize($config);
      $page = ($this-&gt;uri-&gt;segment(2)) ? $this-&gt;uri-&gt;segment(2) : 0;
      $data[&quot;results&quot;] = $this-&gt;fetch_result($config[&quot;per_page&quot;], $page, $key);
      $data[&quot;links&quot;] = $this-&gt;pagination-&gt;create_links();
      $data[&quot;key&quot;] = $key;
      $this-&gt;load-&gt;view(&quot;page&quot;, $data);
  </code></pre>
  <p>in my view :</p>
  <pre><code>&lt;?php echo $links; ?&gt;
  </code></pre>
  <p>And what I got is
  <img src="https://i.stack.imgur.com/iscfa.jpg" alt="enter image description here" /></p>
  <p>How can I make like &lt;-prev 1 2 3 4 5 . . . 200 next-&gt;</p>
  <p>Is it possible? Or maybe a little nice css</p>