CodeIgniter URL and CSS |
[eluser]spezia 018[/eluser]
HI , I am new in CodeIgniter's world. Sorry for my English. But I have problem with url and css folder. I have Alek folder and subfolders css,images and System ( CI version 1.7 ). My example is very simple. I have only one web page. My problem is that CI do not see css folder and css file. But CI see image folder. Look code Code: <head> In config file, I have Code: $config['base_url'] = "http://localhost/Alek"; Code: <?php echo base_url(); ?>css/m.css That is ok, but I don't css style. And I don't know why. I don't have .htaccess file, and I don't want this file. Do I have easier way to get my css style on view page without .htaccess file??
[eluser]Colin Williams[/eluser]
<link rel="stylesheet" ... /> You have ref, not rel, so your browser doesn't know what to do with it.
[eluser]spezia 018[/eluser]
[quote author="Colin Williams" date="1260336348"]<link rel="stylesheet" ... /> You have ref, not rel, so your browser doesn't know what to do with it.[/quote] Yes. That is the problem. Tnx |
Welcome Guest, Not a member yet? Register Sign In |