CSS not loading properly |
[eluser]rand0m[/eluser]
This is how my application is set up Code: / My index controller loads up layout.php passing a parameter of page title which layout should include in it. Code: /* and the layout includes the header, footer and tries to load up the page passed as an argument in Index function Code: /* simple as A, B and C. The problem I see is that when I try loading the CSS in header Code: /* Code: /* I've addded charset="utf-8" and media="all" attributes to link tag, This is how the CSS loads up: http://i.imgur.com/oPjAJmQ.png http://i.imgur.com/QhbDMeG.png There are no PHP/Apache errors. Does anyone else suffer from same issue?
[eluser]InsiteFX[/eluser]
Code: <link rel="stylesheet" href="<?php echo base_url('assets/css/contrib/bootstrap.min.css');?>" type="text/css" />
[eluser]rand0m[/eluser]
I've tried that already base_url()."path" and base_url("path") and it doesn't solve anything. :/ I rebooted my machine and virtual machine to be sure. but it still is an issue.
[eluser]rand0m[/eluser]
Alright, I figured out what the issue was, My Apache settings was the culprit and was serving stale (cached) content. I've changed my apache settings and this works now with no issues ![]() thanks! |
Welcome Guest, Not a member yet? Register Sign In |