title: css,javascript path recognize in codeigniter
body: <p>I am very new in Codeigniter...i have some basic ideas..but not sufficient.lets talk about the problem....</p>
  
  <p>I have a static website..which will be dynamic soon.Now this static website contains css,css3 in a css forlder, javascript in javascript folder,image in images folder.Now i am wanting to set this static website into codeigniter.I copy paste the whole codes including index.php and other pages and the folders(css,javascript.images)into the <code>view</code> folder of codeigniter.for all of your kind information my index.php page is just like that...</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;title&gt;Home&lt;/title&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;link rel="stylesheet" type="text/css" media="screen" href="css/reset.css"&gt;
  &lt;link rel="stylesheet" type="text/css" media="screen" href="css/style.css"&gt;
  &lt;link rel="stylesheet" type="text/css" media="screen" href="css/slider.css"&gt;
  &lt;!--&lt;link href='http://fonts.googleapis.com/css?family=Great+Vibes' 
  rel='stylesheet' type='text/css'&gt;--&gt;
  &lt;script src="&lt;?= base_url() ?&gt;path/images/js/jquery-1.7.min.js"&gt;&lt;/script&gt;
  &lt;script src="&lt;?= base_url() ?&gt;path/images/js/jquery.easing.1.3.js"&gt;&lt;/script&gt;
  &lt;script src="&lt;?= base_url() ?&gt;path/images/js/tms-0.4.1.js"&gt;&lt;/script&gt;
  &lt;script src="&lt;?= base_url() ?&gt;path/images/js/vpb_script.js"&gt;&lt;/script&gt;
  &lt;script src="&lt;?= base_url() ?&gt;path/images/js/pop.js"&gt;&lt;/script&gt;
  
  &lt;!--start popup window ref--&gt;
  &lt;link href="css/colorbox.css" rel="stylesheet" type="text/css" media="all" /&gt;
  &lt;script src="&lt;?= base_url() ?&gt;path/js/jquery_002.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      $(document).ready(function(){
  
          $(".image_show").colorbox({rel:'image_show', transition:"fade"});
  
      });
  &lt;/script&gt;
  &lt;!--end popup window ref--&gt;
  
  &lt;script&gt;
      $(document).ready(function(){                   
          $('.slider')._TMS({
              show:0,
              pauseOnHover:true,
              prevBu:false,
              nextBu:false,
              playBu:false,
              duration:700,
              preset:'fade',
              pagination:true,
              pagNums:false,
              slideshow:8000,
              numStatus:false,
              banners:false,
              waitBannerAnimation:false,
              progressBar:false
          })      
      });
  &lt;/script&gt;
  &lt;style type='text/css'&gt;
  /*This will work for chrome */
      #vpb_general_button{
          padding:5px 2px 4px 2px;
      }
  
  /*This will work for firefox*/
  @-moz-document url-prefix() {
      #vpb_general_button{
          padding:5px 2px 6px 2px;
      }
  }
  &lt;/style&gt;
  &lt;!--[if lt IE 8]&gt;
     &lt;div style=' clear: both; text-align:center; position: relative;'&gt;
       &lt;a href="http://windows.microsoft.com/en-US/
  internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode"&gt;
         &lt;img  src="http://storage.ie6countdown.com/assets/100/
  images/banners/warning_bar_0000_us.jpg" border="0" 
  height="42" width="820" alt="You are     using an outdated browser. For a faster, 
  safer browsing experience, upgrade for free today." /&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;![endif]--&gt;
  &lt;!--[if lt IE 9]&gt;
      &lt;script type="text/javascript" src="js/html5.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" type="text/css" media="screen" href="css/ie.css"&gt;
  &lt;![endif]--&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;!--&lt;div class="bg-top"&gt;--&gt;
  &lt;div class="bgr"&gt;
  &lt;!--==============================Wrapper=================================--&gt;
  &lt;div class="wrapper"&gt;
  &lt;?php 
     include_once('header.php');
     include_once('navigation.php');
     include_once('slider.php');
     include_once('offers.php');
     include_once('invite.php');
     include_once('testimonial.php');
     include_once('special_item.php');
     include_once('footer.php');
     include_once('popup.php');
     ?&gt;
  </code></pre>
  
  <p>and my conroller is like that...</p>
  
  <pre><code>&lt;?php
  class Site extends CI_Controller
  {
    function home()
   {
      $this-&gt;load-&gt;view('index');
   }
  
  
  }
  </code></pre>
  
  <p>?></p>
  
  <p>the problem is that my webpage is loading but without the design,may b its not finding the javascript or css</p>
  
  <p>i know i am making a mistake here..bur i can't fix it out,please help me to fix it out..</p>