[eluser]alvaroeesti[/eluser]
yes about the relative vs absolute
I renamed it to css, it is better so that you can distinguish them from other assets.
As you can imagine, I did try variations about one slash, two, none etc no difference.
I have
--application folder
--css folder that I just created
--system folder
-- user guide folder
Then, inside application I go to views and that is where I have the header.php file, inside whose head I (copy and paste) have this:
Code:
<style type='text/css' media='all'>@import url('css/style.css');</style>
<link rel='stylesheet' type='text/css' media='all' href='css/style.css' />
I tried the idea (which is a good one) of including this
Code:
<link rel="stylesheet" href="<?php echo base_url() ?>assets/style.css" type="text/css" />
but then the page went blank, it took me to I don't know where. I haven't modified the config file, so the base url is up to CI to guess.