Welcome Guest, Not a member yet? Register   Sign In
Head section issue

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="http://dave.sgsphysics.co.uk/css/style.css"&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 dave.sgsphysics.co.uk/index.php/dave

Messages In This Thread
Head section issue - by El Forum - 10-11-2011, 08:48 PM

Theme © iAndrew 2016 - Forum software by © MyBB