Welcome Guest, Not a member yet? Register   Sign In
How do you reference the bootstrap css and js in CI
#2

[eluser]CroNiX[/eluser]
Don't use relative URLs.

Your url assumes the bootstrap directory will be in the same directory that the call was made to. If your bootstrap dir is in your web root dir, then you just need to add a / at the beginning of the url to tell it to start from the root of the site (/bootstrap/css/bootstrap.min.css), or use a complete url like http://yoursite.com/bootstrap/css/bootstrap.min.css


Messages In This Thread
How do you reference the bootstrap css and js in CI - by El Forum - 10-12-2013, 01:03 PM
How do you reference the bootstrap css and js in CI - by El Forum - 10-12-2013, 02:05 PM
How do you reference the bootstrap css and js in CI - by El Forum - 10-12-2013, 06:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB