CodeIgniter Forums
Head section issue - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Head section issue (/showthread.php?tid=45936)

Head section issue - El Forum - 10-11-2011

Hi guys,

I haven't programmed a website in a while, and I'm having a weird issue:

My code:
Quote:<!DOCTYPE html>
&lt;title&gt;DaveDave Portfolio&lt;/title&gt;
&lt;link href="&lt;?php echo base_url() ?&gt;css/style.css" rel="stylesheet" type="text/css"&gt;

<div class="top_bar">

And the output:


&lt;title&gt;DaveDave Portfolio&lt;/title&gt;
&lt;link type="text/css" rel="stylesheet" href=""&gt;
<div class="top_bar">
<div class="header">

As you can see, the &lt;head&gt; section is empty, and everything gets thrown in the body.

Upon a closer inspection of the code getting sent through, the head tags aren't even being transmitted, they seem to be appended by the browser.

Could anyone help me sort this out?

The issue can be seen live at