stylesheets in codeigniter |
[eluser]Unknown[/eluser]
Hi. i am new to CodeIgniter and developed a simple hello world application.i want to use stylesheets but do not know how to do that. i tried to put link to my stylesheets in '<head>' tag but they are not getting linked.i have my css directory in view directory. please guide me in right direction. thanks
[eluser]vickel[/eluser]
use something like: <link type="text/css" href="<?=base_url()?>my_css_direcory/abc.css" rel="stylesheet" /> about base_url(): info in the manual @ http://ellislab.com/codeigniter/user-gui...elper.html
[eluser]Unknown[/eluser]
Thanks Vickel I did that and it is working. i found this also Asset Manager. which is bit confusing for me at this stage but i will give it a try. thanks |
Welcome Guest, Not a member yet? Register Sign In |