• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot load CSS, loads inside HTML tags

#1
[eluser]Stergios[/eluser]
Hi all,

I'm new to CI although I have a decent knowledge of php. So my first problem is that I cannot load the CSS files. I have created an assets folder (where I intend to save css, js etc) outside the application folder. I've tried everything I found on internet about the problem but I still can't fix it.

If I view the source code through the browser, I see that the link to the CSS file is correct, however if I click on it I get this :

Code:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
&lt;html&gt;&lt;head>
&lt;title&gt;404 Not Found&lt;/title&gt;
&lt;/head&gt;&lt;body>
<h1>Not Found</h1>
<p>The requested URL /codeigniter/assets/css/basicLayout2.css was not found on this server.</p>
&lt;/body&gt;&lt;/html>

I've tried many things on .htaccess (I have no knowledge of apache but I've copied everything I found on google). Nothing seems to work. It's the 2nd day now and I'm losing my patience. Please help. Thank you !!


Messages In This Thread
Cannot load CSS, loads inside HTML tags - by El Forum - 09-03-2012, 12:54 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-03-2012, 01:08 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-03-2012, 02:40 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-03-2012, 02:56 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-03-2012, 02:57 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 10:27 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 10:32 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 10:34 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 11:20 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 11:36 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 11:36 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 11:50 AM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 12:18 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 12:35 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 03:19 PM
Cannot load CSS, loads inside HTML tags - by El Forum - 09-04-2012, 06:51 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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