CodeIgniter Forums
They all get embbeded wthin the body tag except for the title - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: They all get embbeded wthin the body tag except for the title (/thread-23189.html)



They all get embbeded wthin the body tag except for the title - El Forum - 10-03-2009

[eluser]midooh[/eluser]
CodeIgniter embed my css and js files wthin the body tag
here is the code

function index()
{
$data=array(
"main_css_template"=>$this->config->item("global_template"),
"Javascript_library"=>$this->config->item("application_main_JS_library_file"),
"page_title"=>$this->config->item("Main_Page_title"));

$this->load->view("Home/Main.php",$data);
}


<head>
<link href=<?php echo $main_css_template; ?> rel="stylesheet" rev="stylesheet" />
[removed]
[removed]
<title><?php echo $page_title; ?></title>
</head>


They all get embbeded wthin the body tag except for the title
need help!


They all get embbeded wthin the body tag except for the title - El Forum - 10-03-2009

[eluser]midooh[/eluser]
I fixed it happened cuz i was using utf8 for the file but why doe it happen?