Welcome Guest, Not a member yet? Register   Sign In
Mod_rewrite, /controller/function, and CSS/JS
#3

[eluser]underskor[/eluser]
Yeah I am using ./css/style.css to reference the CSS files as I have multiple local projects I am working on.
Code:
/project1
  /public_html/
/project2
  /public_html/
etc

It would make sense to use /css/style.css - it would work on a production server - but on my development machine I would have to change the paths.

Base_url() it is then! I will give it a go and post back.

EDIT: Works great. Thanks Jtkendall.


Messages In This Thread
Mod_rewrite, /controller/function, and CSS/JS - by El Forum - 01-10-2009, 07:10 AM
Mod_rewrite, /controller/function, and CSS/JS - by El Forum - 01-10-2009, 12:00 PM
Mod_rewrite, /controller/function, and CSS/JS - by El Forum - 01-10-2009, 04:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB