title: how to style pagination links without config - codeigniter
body: <p>I have the following pagination style</p>
  
  <pre><code>                            &lt;ul class="pagination"&gt;
                              &lt;li&gt;&lt;a href="#"&gt;&lt;i class="fa fa-long-arrow-left"&gt;&lt;/i&gt;Previous Page&lt;/a&gt;&lt;/li&gt;
                              &lt;li class="active"&gt;&lt;a href="#"&gt;1&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="#"&gt;2&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="#"&gt;3&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="#"&gt;4&lt;/a&gt;&lt;/li&gt;
                              &lt;li&gt;&lt;a href="#"&gt;Next Page&lt;i class="fa fa-long-arrow-right"&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;
                              &lt;/ul&gt;&lt;!--/.pagination--&gt; 
  </code></pre>
  
  <p>i want to make the above static code dynamic without using config </p>
  
  <pre><code>&lt;ul class="pagination"&gt;
  
  &lt;?php echo $this-&gt;pagination-&gt;create_links(); ?&gt;
  
  &lt;/ul&gt;&lt;!--/.pagination--&gt; 
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>        $config['full_tag_open']    = "&lt;ul class='pagination'&gt;";
          $config['full_tag_close']   = "&lt;/ul&gt;";
          $config['num_tag_open']     = '&lt;li&gt;';
          $config['num_tag_close']    = '&lt;/li&gt;';
          $config['cur_tag_open']     = "&lt;li class='disabled'&gt;&lt;li class='active'&gt;&lt;a href='#'&gt;";
          $config['cur_tag_close']    = "&lt;span class='sr-only'&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;";
          $config['next_tag_open']    = "&lt;li&gt;";
          $config['next_tagl_close']  = "&lt;/li&gt;";
          $config['prev_tag_open']    = "&lt;li&gt;";
          $config['prev_tagl_close']  = "&lt;/li&gt;";
          $config['first_tag_open']   = "&lt;li&gt;";
          $config['first_tagl_close'] = "&lt;/li&gt;";
          $config['last_tag_open']    = "&lt;li&gt;";
          $config['last_tagl_close']  = "&lt;/li&gt;";
          $this-&gt;pagination-&gt;initialize($config); 
  </code></pre>