Welcome Guest, Not a member yet? Register   Sign In
css doesnt work
#1

[eluser]rad11[/eluser]
Hello I cannot apply a css file.

I add to in my view file:
<head>
<link rel="stylesheet" type="text/css" href="<?PHP echo base_url(); ?>css/style.css">
</head>

Code:
My .htaccess:
RewriteEngine on  
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]

My folders:

-application
-css
-system
-user_guide

My config file:

Code:
$config[‘base_url’] = ‘localhost/CI2/’;

and its not working Sad


Messages In This Thread
css doesnt work - by El Forum - 10-31-2013, 01:06 PM
css doesnt work - by El Forum - 10-31-2013, 01:13 PM
css doesnt work - by El Forum - 10-31-2013, 01:34 PM
css doesnt work - by El Forum - 10-31-2013, 02:09 PM
css doesnt work - by El Forum - 11-07-2013, 12:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB