Welcome Guest, Not a member yet? Register   Sign In
Where do I place the CSS file(s) that I would like my application/pages to use ?
#3

[eluser]Craig A Rodway[/eluser]
I make a www folder in the same directory as system
Code:
+ system
+ www
  + css
  + img
  + js

In your template/layout, you can use the <base> tag like this:

Code:
<base href="<?php echo $this->config->item('base_url') ?>www/" />

To load CSS:

Code:
<link rel="stylesheet" type="text/css" href="css/screen.css" media="screen,projection" title="Screen layout" />

Images:

Code:
<img src="img/header.jpg" />


Messages In This Thread
Where do I place the CSS file(s) that I would like my application/pages to use ? - by El Forum - 01-05-2008, 01:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB