Welcome Guest, Not a member yet? Register   Sign In
Problem loading CSS file with relative path
#4

[eluser]mihaibaboi[/eluser]
@bobbob Thanks for your help. Your idea works, but I don't like to put my css files in the root of my site. I feel it goes against the framework model. I have a views folder, so I can keep the UI files there.

@Bart v B That's a more elegant solution. For now, I just hard coded an absolute path to see if it works, and it does. I'm sure that the autoload will work, but I don't have the time to tinker with it right now. I'll get back if I encounter any problems.

It still bugs me that I can't get it to work with a relative path. I'm sure that there's a small thing that I'm missing. I'm new to CodeIgniter and I don't know about the design patterns that are commonly used. I'm used to relative paths, but if I can't do it, tough... I can work with an absolute path just as well.

Thanks.


Messages In This Thread
Problem loading CSS file with relative path - by El Forum - 04-09-2010, 02:29 PM
Problem loading CSS file with relative path - by El Forum - 04-09-2010, 05:32 PM
Problem loading CSS file with relative path - by El Forum - 04-10-2010, 12:35 AM
Problem loading CSS file with relative path - by El Forum - 04-10-2010, 01:25 AM
Problem loading CSS file with relative path - by El Forum - 04-10-2010, 02:27 AM
Problem loading CSS file with relative path - by El Forum - 04-10-2010, 02:50 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 01:50 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 01:55 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 02:02 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 04:10 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 04:30 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 04:35 AM
Problem loading CSS file with relative path - by El Forum - 04-26-2010, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB