I am new to codeigniter. I made a simple controller to load the three views: header, body and footer. My header contains links to several javascripts and CSS which have a relative paths. I kept all the css and js relative to file in views folder.
The problem is that the controller loads everything properly but images, js and css are not getting loaded.
This is the hierarchy of my view:
CSS(sub directory in views) JS (sub directory in views)
header (header view file) body (body view file) footer (footer view file)
ny idea?