Welcome Guest, Not a member yet? Register   Sign In
Problem with css style in view
#1

[eluser]Unknown[/eluser]
Hello,

I have one little problem, what I can't resolve... I found few solutions, but on my CI not works.

I try to include css style like that (url helper is enabled):
Code:
<link href="'.base_url().'system/application/views/template/style.css" rel="stylesheet" type="text/css" />

But style is not loaded Sad I try go to http://localhost/system/application/view.../style.css but I see:

Code:
404 Page Not Found
The page you requested was not found.

Please, help
#2

[eluser]Unknown[/eluser]
Problem is resolved.

I put folder images (css,pictures) where is first index.php of ci and write:

Code:
<link href="'.base_url().'images/style.css" rel="stylesheet" type="text/css" />

And it's working fine.




Theme © iAndrew 2016 - Forum software by © MyBB