5 Replies Latest reply on Sep 25, 2011 8:51 AM by MurraySummers

    "InstantBegin template" placement problem


      Using Dreamweaver CS4, I created a template for my site. When I start a new page using this template, Dreamweaver inserts the "InstantBegin template.." line BEFORE the !DOCTYPE declaration:


      <!-- InstanceBegin template="/Templates/main_Template.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "






      This causes the page to fall apart when viewed in IE. I've tried using NotePad to move the "InstanceBegin template..." after the DOCTYPE line. This works fine until I open the page in Dreamweaver which moves it back to line 1 of the code.


      Any ideas on what's going on...and if it can be fixed? Any help would be appreciated!

      - Mary