Welcome Guest, Not a member yet? Register   Sign In
Easier Way to Load Stylesheets?
#6

[eluser]Colin Williams[/eluser]
1.) Don't put your stylesheets in the views folder (you application files should be outside the root anyway)
2.) Use absolute paths like "/style.css" leaving the domain out of it
3.) Get over the "pain" of typing out 30+ char strings

Quote:When I use href=‘system/application/views/style.css’, it doesn’t work.

And I hope you realize why it doesn't. ..


Messages In This Thread
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 03:29 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 03:38 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 03:48 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 03:54 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 04:13 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 04:21 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 06:07 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 07:04 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 07:07 PM
Easier Way to Load Stylesheets? - by El Forum - 10-09-2009, 07:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB