CodeIgniter Forums
CSS just won't load. - 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: CSS just won't load. (/showthread.php?tid=34506)



CSS just won't load. - El Forum - 10-01-2010

[eluser]Todlerone[/eluser]
Hello everyone and thank-you in advance for any help/suggestions. Put simply I can't get my CSS to load no matter what I do. Currently I have created a css directory at the same level as my system folder.

I have autoloaded these:
$autoload['helper'] = array('url','html');
and this is in my header view
<?php echo link_tag('css/default.css');?>

When I look at the scource code for my website it appears like it should, it's just not formatted as per css.

Cheers


CSS just won't load. - El Forum - 10-01-2010

[eluser]Todlerone[/eluser]
I got it to work. Turns out my .htaccess wasn't right. It still doesn't remove the index.php but my css loads now????


CSS just won't load. - El Forum - 10-04-2010

[eluser]stormbytes[/eluser]
I couldn't get htaccess to work either, though I should say I'm using Mamp on a local machine. I hope I can get rid of index.php once this is uploaded offsite.