[eluser]IamPrototype[/eluser]
Hey, I'm new to CodeIgniter, and just started to make some different applications. My first problem is that my CSS won't load. When I check the source code, all the CSS (divs, classes, etc.) are wrote in the source code, and the URL for the CSS is 100 % right.
I created some views (header.php footer.php news.php). This is my header.php, or the top of it:
Code:
<?php
$link = array(
'href' => 'css/default.css',
'rel' => 'stylesheet',
'type' => 'text/css',
'media' => 'print'
);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<title>Prototype Design | Merry Christmas!</title>
<?php echo link_tag($link); ?>
My footer.php is just all the ending tags. Take a look on my news.php
Code:
<?php
$this->load->view('header');
?>
.....content etc.....
<?php
$this->load->view('footer');
?>
So yes, the weird thing is that in the source code the header and footer is loaded, but the CSS won't!
Anyways, so far I just love CodeIgniter, good job!
** Yes, I've already tried including the CSS manual wise.