Error with including stylesheet |
[eluser]Tanax[/eluser]
Hi! First of all, I have to say that I did not search for this on the forums, maybe I should've done that. Anyhow! I got a stylesheet, that I'm including in my header view: Code: <link rel="stylesheet" href="stylesheet.css" type="text/css" /> Simple. It works GREAT when I'm on index: http://localhost/ Btw, the stylesheet is in the same location as the index.php It doesn't work when I'm navigating to the index: http://localhost/site/index I set the site to be default controller, and I allowed the stylesheet in the .htaccess: Code: RewriteEngine on Also worth to mention is that the controllers and URL thing works perfectly well. I see the view and everything. Only problem is that the css doesn't get applied to the pages if I go the controller via URL. Any suggestions? Thanks in advance! |
Messages In This Thread |
Error with including stylesheet - by El Forum - 03-25-2009, 09:58 AM
Error with including stylesheet - by El Forum - 03-25-2009, 10:05 AM
Error with including stylesheet - by El Forum - 03-25-2009, 10:49 AM
Error with including stylesheet - by El Forum - 03-25-2009, 11:03 AM
|