Hi guys,I worked it out,
<html>
<head>
<!--$headcontent-->
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
I started my new template with a normal html file,as soon as I changed the part at the top to the above all worked again.I can't believe something so simple took me so long to figure out.
The template i'm designing looks really good,I'll post the address when i'm done..
Thanks for your help guys