Prev: CSS - Eliminate underline and blue color in hyperlinks
Next: Need plugin file cf8_dwtagupdates.mxp
From: cbm2008 on 21 Apr 2008 04:36 I cannot create a child page from my template because of this error: "There is an error at line 122, column 8...[page name]...:Duplicate editable regions of "Document head" I only have one editable region in the first 122 lines of code, and it is not named "Document head." I've been working on this for several days, and am really puzzled. Will someone please help? Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- TemplateBeginEditable name="Doctitle" --> <title>Paneled Page Template</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- TemplateEndEditable --> <style type="text/css"> <!-- .style2 { font-size: 10pt; color: #124085; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; line-height: 12pt; } --> </style> </head> <head> <link href="../p7gp/gp1/p7GP01.css" rel="stylesheet" type="text/css" media="all" /> <script type="text/javascript" src="../p7gp/p7GPscripts.js"></script> <link href="../CSS Files/templatePage.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- #apDiv4 { position:absolute; width:195px; height:153px; z-index:2; left: 698px; top: 194px; } #apDiv1 { position:absolute; left:209px; top:230px; width:258px; height:71px; z-index:1; } <!--[if IE 5]> /* place css box model fixes for IE 5* in this conditional comment */ .twoColFixLtHdr #sidebar1 { width: 230px; } <![endif]--> <!--[if IE]> /* place css fixes for all versions of IE in this conditional comment */ .twoColFixLtHdr #sidebar1 { padding-top: 30px; } .twoColFixLtHdr #mainContent { zoom: 1; } /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */ <![endif]--> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; color: #300000; } a { font-family: Times New Roman, Times, serif; font-size: 13px; color: #300000; } a:link { text-decoration: none; font-family: "Times New Roman", Times, serif; color: #300000; } a:visited { text-decoration: none; color: #1369A4; } a:hover { text-decoration: underline; color: #666666; } a:active { text-decoration: none; } --> </style> <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .style1 {color: #300000} h2 { font-size: 28px; color: #1369A4; } h3 { font-size: 24px; } h4 { color: #1369A4; } a:link { color: #300000; text-decoration: none; } a:visited { text-decoration: none; color: #1369A4; } a:hover { text-decoration: underline; color: #666666; } a:active { text-decoration: none; } a { font-family: Times New Roman, Times, serif; font-size: 14px; font-weight: bold; } --> </style> </head>
From: Murray *ACE* on 21 Apr 2008 06:22 </style> </head> <head> You have a code error right there. There are two pairs of <head>/</head> tags. -- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "cbm2008" <webforumsuser(a)macromedia.com> wrote in message news:fuhjn1$r9$1(a)forums.macromedia.com... >I cannot create a child page from my template because of this error: "There >is > an error at line 122, column 8...[page name]...:Duplicate editable regions > of > "Document head" > > I only have one editable region in the first 122 lines of code, and it is > not > named "Document head." > I've been working on this for several days, and am really puzzled. Will > someone please help? Here is the code: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <!-- TemplateBeginEditable name="Doctitle" --> > <title>Paneled Page Template</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <!-- TemplateEndEditable --> > <style type="text/css"> > <!-- > .style2 { font-size: 10pt; > color: #124085; > font-weight: bold; > font-family: Verdana, Arial, Helvetica, sans-serif; > line-height: 12pt; > } > --> > </style> > </head> > > <head> > <link href="../p7gp/gp1/p7GP01.css" rel="stylesheet" type="text/css" > media="all" /> > <script type="text/javascript" src="../p7gp/p7GPscripts.js"></script> > <link href="../CSS Files/templatePage.css" rel="stylesheet" > type="text/css" /> > > <style type="text/css"> > <!-- > #apDiv4 { > position:absolute; > width:195px; > height:153px; > z-index:2; > left: 698px; > top: 194px; > } > #apDiv1 { > position:absolute; > left:209px; > top:230px; > width:258px; > height:71px; > z-index:1; > } > > <!--[if IE 5]> > /* place css box model fixes for IE 5* in this conditional comment */ > .twoColFixLtHdr #sidebar1 { width: 230px; } > <![endif]--> > > <!--[if IE]> > /* place css fixes for all versions of IE in this conditional comment */ > .twoColFixLtHdr #sidebar1 { padding-top: 30px; } > .twoColFixLtHdr #mainContent { zoom: 1; } > /* the above proprietary zoom property gives IE the hasLayout it needs to > avoid several bugs */ > <![endif]--> > > <!-- > body,td,th { > font-family: Arial, Helvetica, sans-serif; > color: #300000; > } > > a { > font-family: Times New Roman, Times, serif; > font-size: 13px; > color: #300000; > } > a:link { > text-decoration: none; > font-family: "Times New Roman", Times, serif; > color: #300000; > } > a:visited { > text-decoration: none; > color: #1369A4; > } > a:hover { > text-decoration: underline; > color: #666666; > } > a:active { > text-decoration: none; > } > --> > </style> > <script src="../SpryAssets/SpryMenuBar.js" > type="text/javascript"></script> > <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" > type="text/css" /> > <style type="text/css"> > <!-- > .style1 {color: #300000} > h2 { > font-size: 28px; > color: #1369A4; > } > h3 { > font-size: 24px; > } > h4 { > color: #1369A4; > } > a:link { > color: #300000; > text-decoration: none; > } > a:visited { > text-decoration: none; > color: #1369A4; > } > a:hover { > text-decoration: underline; > color: #666666; > } > a:active { > text-decoration: none; > } > a { > font-family: Times New Roman, Times, serif; > font-size: 14px; > font-weight: bold; > } > --> > </style> > </head> > >
From: SEOTOP on 21 Apr 2008 07:02 Please send the URL
From: cbm2008 on 21 Apr 2008 16:41 I'm not sure how to do it. When I try to create an .html from my .dwt template, I get the error message, and no file is created. Because my file is so large, I cannot post all the code in one entry. I will place it in segments so that each segment overlaps by one line. thanks for being willing to look at it. </head> [duplicate of entry above] <body class="twoColFixLtHdr"> <div id="apDiv1"> <h1>About Lorian</h1> </div> <div id="apDiv4"><img src="../Images/spirit.gif" alt="Page Photo" name="PagePic" width="195" height="201" class="fltrt" id="PagePic" /> </div> <div id="container"> <div id="header"> <h1><img src="../Images/Lorian_Logo.gif" alt="Lorian Logo" width="362" height="108" /></h1> <div id="navcontactus"> <p align="left"><a href="http://lorian.bigmindcatalyst.com/cgi/bmc.pl" title="Go to your Lorian classes and forums">Catalyst Sign In</a></p> <p align="left"><a href="mailto:cbm(a)whidbey.com">Contact Us</a></p> </div> <!-- end #header --> </div> <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <ul id="MenuBar1" class="MenuBarHorizontal"> [LI] <div align="center"><a href="../indextobe.html" title="Return to the Home Page" class="style1">Home</a> </div> </li> [LI]<a href="../aboutLorian.html" title="Find out about Lorian">About Lorian</a> </li> [LI]<a href="../aNewSpirit.html">A New Spirit</a> </li> [LI]<a href="../edu.html">Education</a> </li> [LI]<a href="../innerService.html">Inner Service</a></li> [LI]<a href="../resources.html" title="Find our services and resources">Personal Support</a> </li> [LI]<a href="../NotYet.html">Community</a></li> [LI]<a href="../NotYet.html">Calendar </a></li> [LI]<a href="../NotYet.html">Bookstore</a></li> [LI]<a href="#">Free Wisdom</a></li> [LI]<a href="#">Sanctuary</a></li> [/BULLET] <br class="clearfloat" /> <!-- end #container --> </div>
From: cbm2008 on 21 Apr 2008 16:44 </div> [duplicate from above entry] <!-- TemplateBeginEditable name="maintextarea" --> <div id="p7GP_1" class="p7GP01"> <div class="p7GPinnerwrapper"> <div class="p7GPtwrapper"> <div class="p7GPtwrapinner"> <ul id="p7GPt_1"> [LI]<a href="#p7GPc1_1" id="p7GPtrg1_1">Mission and History</a></li> [LI]<a href="#p7GPc1_2" id="p7GPtrg1_2">History</a></li> [LI]<a href="#p7GPc1_3" id="p7GPtrg1_3">Is Lorian for You?</a></li> [LI]<a href="#p7GPc1_4" id="p7GPtrg1_4">Board of Directors</a></li> [LI]<a href="../NotYet.html" id="p7GPtrg1_5">Donations</a></li> [LI]<a href="#p7GPc1_6" id="p7GPtrg1_6">Testimonials</a></li> [LI]<a href="#p7GPc1_7" id="p7GPtrg1_7">Newletters</a></li> [/BULLET] </div> <div id="p7GPsb_1" class="sidecontent">sidebar content</div> </div> <div class="p7GPcwrapper"> <div id="p7GPw_1" class="p7GPW"> <div id="p7GPc1_1" class="p7GPcontentwrapper"> <div class="p7GPcontent"> <h3>Mission and Goals</h3> <p>Here is the text for mission and goals.</p> <p>Lorem ipsum dolor sit amet, contuer adiping elit, sed diam nonummy nibh euismod.</p> <p>Lorem ipsum dolor sit amed sed diam nonummy nibh euismod tincidunt ut.</p> <p>Duis autem vel eum iriure dolor in hendrerit in vulputate. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. </p> <div class="p7GPsidebar">l<img src="" alt="" name="sidebarImage" width="100" height="100" id="sidebarImage" />Caption for image</div> </div> </div> <div id="p7GPc1_2" class="p7GPcontentwrapper"> <div class="p7GPcontent"> <h3>History</h3> <p>Here is the text for history</p> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque congue tristique eros. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. Nullam adipiscing enim dapibus felis. Fusce a nisi in odio pulvinar fringilla. Nunc blandit interdum metus. Duis leo nunc, sollicitudin ut, fermentum congue, pharetra eu, massa. Suspendisse potenti. Morbi commodo mauris. Ut at pede. Ut id nisi. Donec scelerisque urna quis ligula. Praesent est. Vestibulum scelerisque. Curabitur quam. Fusce rhoncus pellentesque ipsum. Aenean venenatis metus ac quam. Maecenas lacus lacus, sagittis vitae, congue at, euismod eu, urna. Maecenas vitae purus. Praesent eros lectus, porta et, semper nec, molestie eget, tortor.</p> <div class="p7GPsidebar">sidebar content placeholder for this panel</div> </div> </div> <div id="p7GPc1_3" class="p7GPcontentwrapper"> <div class="p7GPcontent"> <h3>Is Lorian for You?</h3> <p>Lorem ipsum dolor sit amed sed diam nonummy nibh euismod tincidunt ut. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, eu feugiat nulla at vero eros et accumsan et odio qui blandit praesent luptatum augue duis dolore te feugait nulla facilisi.</p> <p>Lorem ipsum dolor sit amed sed diam nonummy nibh euismod tincidunt ut. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, eu feugiat nulla at vero eros et accumsan et odio qui blandit praesent luptatum augue duis dolore te feugait nulla facilisi.</p> <div class="p7GPsidebar">sidebar content placeholder for this panel</div> </div> </div> <div id="p7GPc1_4" class="p7GPcontentwrapper"> <div class="p7GPcontent"> <h3>Board of Directors</h3> <p>Lorem ipsum dolor sit amet, contuer adiping elit, sed diam nonummy nibh euismod.</p> <p>Lorem ipsum dolor sit amet, contuer adiping elit, sed diam nonummy nibh euismod.Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. </p> <div class="p7GPsidebar">sidebar content placeholder for this panel</div> </div> </div> <div id="p7GPc1_6" class="p7GPcontentwrapper"> <div class="p7GPcontent"> <h3>Testimonials</h3> <p>Lorem ipsum dolor sit amed sed diam nonummy nibh euismod tincidunt ut. Duis autem vel eum iriure. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. </p> <div class="p7GPsidebar">sidebar content placeholder for this panel</div> </div> </div> <div id="p7GPc1_7" class="p7GPcontentwrapper"> <div class="p7GPcontent"> <h3>Newletters</h3> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque congue tristique eros. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. Nullam adipiscing enim dapibus felis. Fusce a nisi in odio pulvinar fringilla. Nunc blandit interdum metus. Duis leo nunc, sollicitudin ut, fermentum congue, pharetra eu, massa. Suspendisse potenti. Morbi commodo mauris. Ut at pede. Ut id nisi. Donec scelerisque urna quis ligula. Praesent est. Vestibulum scelerisque. Curabitur quam. Fusce rhoncus pellentesque ipsum. Aenean venenatis metus ac quam. Maecenas lacus lacus, sagittis vitae, congue at, euismod eu, urna. Maecenas vitae purus. Praesent eros lectus, porta et, semper nec, molestie eget, tortor.</p> <div class="p7GPsidebar">sidebar content placeholder for this panel</div> </div> </div> </div> <div class="clearfloats"> </div> </div> </div> <!--[if lte IE 6]><style>#p7GP_1 .p7GPtwrapper ul a {height: 1%;}</style><![endif]--> <script type="text/javascript"> <!-- P7_opGPM('p7GP_1',1,2,1,1,1); //--> </script> </div> <div id="footer"><span class="style2">©2008 Lorian Association, All Rights Reserved. Contact us at info(a)lorian.org or at<br /> 12345 SE 123rd Street • Issaquah, WA 98123</span></div> <h1 align="left"> </h1> <h3 align="left"> </h3> <h3 align="left"> </h3> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <h3 align="left"> </h3> </div> <!-- TemplateEndEditable --> <script type="text/javascript"> <!-- var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"}); //--> </script> </body> </html>
|
Next
|
Last
Pages: 1 2 3 Prev: CSS - Eliminate underline and blue color in hyperlinks Next: Need plugin file cf8_dwtagupdates.mxp |