Welcome Guest, Not a member yet? Register   Sign In
css help
#1

[eluser]Unknown[/eluser]
hi I am just starting a codeigniter project.
I just dont get why the external css dont work.
I am using the 960gs css.
960gc(folder) is in the root.

v_home.php (this is the view)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;link href=&lt;link rel=“stylesheet” href="&lt;?php echo base_url(); ?&gt;960gs/code/css/960.css" rel="stylesheet" type="text/css" />
&lt;/head&gt;

&lt;body&gt;
<div class="container_12">
<div class="grid_4">
<p>hello world</p>
</div>
<div class="grid_8"><p>something</p></div>

</div>
&lt;/body&gt;
&lt;/html&gt;

and this is the controller
welcome.php

class Welcome extends CI_Controller {

function Welcome()
{
parent::__construct();
$this->load->helper('url');
}

public function index()
{
$this->load->view('v_home');
}
}


pls help me guys.....thank you...




Theme © iAndrew 2016 - Forum software by © MyBB