• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

#2
[eluser]InsiteFX[/eluser]
Code:
<link rel="stylesheet" type="text/css" href="<?PHP echo base_url('css/style.css'); ?>">

#3
[eluser]rad11[/eluser]
Too not working Sad

#4
[eluser]Tpojka[/eluser]
URL helper (auto)loaded?

#5
[eluser]DuyK-DCT[/eluser]
Contact me via: Facebook.com/duykpro
i will check it for you via Teamviewer


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.