• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.