Page is a not externally linkable
- Code, Content, and Presentation
-- WYSIWYG and Text Code Editors
---- Dreamweaver Template code showing up on web page?


LeahStorm - 12:40 am on Sep 2, 2010 (gmt 0)


Shado & Martini, THANK YOU. I see what you're saying about where the head lands. So I found an old template from a site I created a long time ago, and copied the first 5 lines from that template in to my new one, and uploaded it, and it fixed it. BUT... here's the weird thing, dreamweaver STILL put that same line of text into the pages, BEFORE the <head> section.

Here's my new template code:
____________________________________
<html><head><meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
___________________________________



And here's the code inside one of the pages with the template applied to it. AND, it's greyed out in the code view of the page, so i can't make any changes to it, at all.
____________________________________
<html><!-- InstanceBegin template="/Templates/aa--template.dwt" codeOutsideHTMLIsLocked="false" --><head><meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
_____________________________________

This seems to have fixed it, but I wish I knew exactly why.

Thanks again!

Leah


Thread source:: http://www.webmasterworld.com/html_editors/4194893.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com