[eluser]ludo31[/eluser]
Hello I try to use 960 Grid System in CodeIgniter
My folder is like This : the principal folder CodeIgniter:
CodeIgniter
|
-application
|_Controller
|_View
|_Model
|_css
-system
in Controller folder I have : a file : site.php
in view : accueil.php
but when I try to insert the 960 grid in view file it doesn't hork even if I load the url
Code:
<?php
/*
* Controlleur
*/
class Site extends CI_Controller
{
public function __construct()
{
parent::__construct();
}
public function index()
{
$this->load->view('accueil');
}
}
?>
view file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url();?> ../css/reset.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url();?>../css/text.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url();?>../css/960.css" />
</head>
<body>
<div class="container_12">
<h2>
grid coulum 12
</h2>
<div class="grid_12">
<p>
940
</p>
</div>
</div>
</body>
</html>
remark at the link : I use
I hope it's correct .
I also try to take css folder out of application in the same folder than system
so I change link like this :
but it doesn't work !! but When I try to a new file in desktop and make 960 grid system in the same it works !!
does anyone know what's the problem ??
thanks