• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't show any css or images

#1
[eluser]gunnarflax[/eluser]
Hi, I've started working with CodeIgniter today and I'm having some trouble with applying css rules and getting images to show. I've searched the internet and the forums but haven't found an answer to my question. I use this
Code:
link_tag('style/style.css', 'stylesheet', 'text/css')
to create the link tag but somehow the rules aren't applied to elements. When I create an image with the img() function it won't show either. I think there is a problem with the site trying to route to the controller "style" and the function "style.css" since the url is "style/style.css" but I don't know for certain and I don't know how I should do to change this behaviour.

The style folder is located in root, at the same directory level as the applications and system folder.

Please help me out here? Smile


Messages In This Thread
I can't show any css or images - by El Forum - 04-11-2011, 04:26 PM
I can't show any css or images - by El Forum - 04-11-2011, 04:48 PM
I can't show any css or images - by El Forum - 04-11-2011, 04:56 PM
I can't show any css or images - by El Forum - 04-11-2011, 05:01 PM
I can't show any css or images - by El Forum - 04-11-2011, 05:03 PM
I can't show any css or images - by El Forum - 04-11-2011, 05:23 PM
I can't show any css or images - by El Forum - 04-11-2011, 05:29 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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