Welcome Guest, Not a member yet? Register   Sign In
base_url() problems // designers are about to kill me :(
#4

[eluser]Michael Wales[/eluser]
I personally create the following 3 folders at the root level: css, js, and images. I then reference those as such (note the starting slash in the URI):
Code:
<img src="/images/myimage.jpg" />

A lot of other people would rather create an assets folder at the root level, and then place the 3 folders named above within it.
Code:
<img src="/assets/images/myimage.jpg" />

Either way - referencing all of your assets, via a relative link from the root level, is the best option with CI.


Messages In This Thread
base_url() problems // designers are about to kill me :( - by El Forum - 10-04-2007, 07:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB