CodeIgniter Forums
Linking CSS - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Linking CSS (/showthread.php?tid=12522)



Linking CSS - El Forum - 10-22-2008

[eluser]flacoste[/eluser]
Hello all,

First of all, lemme tell you that I'm new with CodeIgniter and I readed the manual.

Here's my problem;
I'm trying to link a CSS style-sheet to my view, but somehow it keeps giving 404 errors.
My application is accessible using http://localhost/index.php/
My CSS files are not accessible using http://localhost/index.php/css/style.css
[I can access my CSS files using fullpath(ie: http://lo../system/application/views/css/style.css

What am I doing wrong ... ?

Thanks.


Linking CSS - El Forum - 10-22-2008

[eluser]flacoste[/eluser]
Found my answer: http://ellislab.com/forums/viewthread/86708/


Linking CSS - El Forum - 10-22-2008

[eluser]sl3dg3hamm3r[/eluser]
I admit I had similar questions when I started recently. Maybe a forum-FAQ wouldn't be a bad idea? This question would definitely belong there as well.


Linking CSS - El Forum - 10-22-2008

[eluser]flacoste[/eluser]
Yeah, definitely, or a good adjustment to http://codeigniter.com/wiki/css/