Page 1 of 1

</__body> content is being displayed before <head></head> and doctype declaration

Posted: Fri Dec 04, 2009 2:46 pm
by echoesofury
Hi there, I am running CMSv1.6.5, and I noticed something really strange when I did a view source on my page. The template is ordered correctly, but that actual HTML being generated has the before the doctype and content. I have no idea what could be causing this O.o;

Here is my template:
{process_pagedata}



{sitename} - {title}
{metadata}
{stylesheet}

{literal}
#sidebar {width:230px;padding:5px 15px 25px 15px;} #boxes h3 {margin-bottom:12px;}
{/literal}










  {menu template="nafaamenu"}



     
            {cms_selflink dir="start" text="$sitename"}
          dogmafree.org
         










{content block="sidebar"}

  {content}

{global_content name="boxes"}






{global_content name='footer'}


And here is what shows up when I view source:







   




about NAFAA





forum





get involved





facebook








     
            NAFAA: Non-religious, Atheist, Free-thinker, and Agnostic Alliance | Central Michigan University
          dogmafree.org
         











NAFAA will not be meeting Dec. 8th.


Enjoy your month break and be sure to look for our new Spring meeting time!


 


Looking for a dogma free setting to discuss your beliefs, or lack of belief? You've come to the right place.
We are NAFAA: Non-religious, Atheist, Free-thinker, and Agnostic Alliance.
Learn more about NAFAA >




NAFAA: Non-religious, Atheist, Free-thinker, and Agnostic Alliance | Central Michigan University - Home







Is there something wrong with my template? I'm totally baffled here.

Re: </__body> content is being displayed before <head></head> and doctype declaration

Posted: Thu Dec 10, 2009 12:02 am
by Dr.CSS
Any chance your using a free host, they have a tendency to add crap after the end of the page like this...











NOTE: *** is just to keep it from being links...