title: base_url() not working properly in internet explorer (CodeIgniter)
body: <p>My navigation bar images and links load fine in CHROME but when loading the same page in INTERNET EXPLORER the images don't load but displays the no image icon. The links in IE are like this </p>
  
  <p>CodeIgniter/index.php/news/index.php/news/</p>
  
  <p>instead of just</p>
  
  <p>CodeIgniter/index.php/news</p>
  
  <p>HOWEVER, IE manages to load the css successfully even though that is also using the base_url()... here is my code:</p>
  
  <p><strong>test.php</strong></p>
  
  <pre><code>&lt;head&gt;
  &lt;base href="&lt;?php echo base_url() ?&gt;"&gt;
  &lt;link rel="stylesheet" type="text/css" href="public/css/main.css"&gt;
  &lt;/head&gt;
   &lt;nav&gt;
      &lt;ul&gt;
  
       &lt;li&gt;&lt;a href="index.php/news"&gt;
       &lt;img src = "public/images/home.png" alt="Home" title="Home"/&gt;
       &lt;/a&gt;&lt;/li&gt;
  
  
       &lt;li&gt;&lt;a href="index.php/news/create"&gt;
       &lt;img src = "public/images/create.png" alt="Create new article" title="Create new article"/&gt;
       &lt;/a&gt;&lt;/li&gt;
  
      &lt;/ul&gt;
   &lt;/nav&gt;
  </code></pre>
  
  <p><strong>config.php</strong></p>
  
  <pre><code>  $config['base_url']   = 'http://localhost/CIgniter/CodeIgniter/';
  </code></pre>
  
  <h1>Answer</h1>
  
  <p>Quote:Well Fabios suggestion was successful thanks <code>&lt;img src = "&lt;?=base_url('public/images/home.png')?&gt;" alt="Home" title="Home"/&gt;</code> works even though it is gonna be a pain in future. Thanks for all your help!</p>