CodeIgniter Forums
css problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: css problem (/showthread.php?tid=41096)



css problem - El Forum - 04-27-2011

[eluser]loca[/eluser]
my tree view of CI folder is same the following:
EX:

+css
+system
-application
+model
-view
blogview.php
-controller
blog.php

when I import(link) css in my view file(blogview.php) and set default controller in routes.php file $route['default_controller'] = "blog";
It works

But when I use url ...index.php/blog/. Controller blog load but css not link to it
anybody help me. Thanks!


css problem - El Forum - 04-28-2011

[eluser]InsiteFX[/eluser]
Please use code tags when post code!

And what doe's your view file look like? Post the code.

InsiteFX