Welcome Guest, Not a member yet? Register   Sign In
index.php - works - index.php/home - does not - Please help explain
#4

[eluser]Brandon Dickson[/eluser]
Merolen's correct, CI uses url routing to make things cleaner, but to your web browser, when you type in:

http://localhost/ci2/index.php/home/

the browser assumes that "home" is a directory, so its looking for you css file here:

http://localhost/ci2/index.php/home/styles/style.css

try using site_url('styles/style.css') or base_url() as Merolen described.

-Brandon


Messages In This Thread
index.php - works - index.php/home - does not - Please help explain - by El Forum - 06-04-2008, 07:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB