[eluser]Praveen A P[/eluser]
[quote author="WanWizard" date="1284862610"]Move your application directory out of the system directory, and move your assets out of your application directory.
Most people use a /assets directory, in there you can create /css, /js and so on. You then create links like this:
Code:
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/defaultStyle.css"/>
which makes them independent of your application directory, and because you no longer hardcode your url's, fully portable.[/quote]
Tried the base url thing which did not work. Let me try the other part.