Welcome Guest, Not a member yet? Register   Sign In
Images, CSS, JS disappear on any controller, but home page

and dont forget the widely unused

<base href="<?php echo base_url(); ?>" /> tag in the <head>

means you can use relative links in views/content with out this problem from occuring.

also makes it much more portable

[quote author="cahva" date="1283367534"]Pickupman's example didnt work as the url was wrong if this is used from your localhost where the site starts from "mysite". So the correct would have been:
<link  href="/mysite/global_assets/templates/default/css/body.css" rel="stylesheet" type="text/css" />
There it is! Works perfectly now. Thanks for the info.

Theme © iAndrew 2016 - Forum software by © MyBB