How can I Convert an Html Page for use.

I have an html website with images/css and jquery currently running.

I tried pasting the html code in the view page, the page displays, but no formating (css) or images.

My guess is I dont have the assets in the right place or I am not referencing them correctly.

Would some kind soul point me in the right direction please?

Thank You.

Got it:

Just remember that your .htaccess must not redirect those requests for the assets to CI.

Do not put the assets in the system or application directory (you may want to move system and application out of the webroot or rename them).

Put them in a separate dir next to index.php, and use base_url() + ‘dirname/file.png’ to get the address.

[eluser]Derek Allard[/eluser]
Welcome to CI Gazzooks. Glad you got that sorted.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.