logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-16-2011, 12:44 AM   #1
Webbedfeat
 
Join Date: Oct 2010
Posts: 19
Default Switching to CSS style sheet brought up an error message on my template file.

I'm upgrading my template (which I made by editing a Dreamweaver template) by splitting off the style codes from the top of the template and putting them into a style sheet.

I had it working--on one page--but I now get an error message on the template saying I have nested editable regions on line 11. Line 11 has only one html tag, <body>. I opened up the template to fix it, but now Dreamweaver won't let me save the file.

I've tried several different ways to correct this, but no luck yet.

Thanks for whoever can help me, be it General, Private, or Emperor.

Here is the template code (without the style sheet):


Code:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>FG2Q</title>
<!-- TemplateEndEditable -->
<link href="../FG2QStyleSheet.css" rel="stylesheet" type="text/css" />
<body>
<div class="header">
 <!-- TemplateBeginEditable name="header" -->   <table width="651" border="0" cellpadding="2" cellspacing="0">
    <tr>
        <th colspan="2" align="left" valign="top" id="Runningtitle" scope="row">FieldGuidetoQuilts.com</th>
      </tr>
      <tr>
        <th width="102" height="100" align="left" valign="top" scope="row"><img src="../0Frontmatter/StarIconViolet.jpg" width="102" height="100" align="top" /></th>
        <th width="550" align="left" valign="top"><h1 class="header" id="h1">FG2Q.com</h1></th></tr>
      </table>
 <!-- end .header -->
  <!-- TemplateEndEditable -->
  <div class="sidebar1">
    <ul class="nav">
      <li><a href="../0Frontmatter/Home.html" target="_top">Home</a></li>
      <li><a href="../0Frontmatter/ContactUs.html" target="_top">Contact Us</a></li>
      <li><a href="../1Star/1Star/1Star.html">Star</a></li>
      <li><a href="../2Wh/2Wh/2Wheel.html">Wheel</a></li>
      <li><a href="#">Cross</a></li>
      <li><a href="#">Curve &amp;<br /> 
      Curve Mimics</a></li>
      <li><a href="#">Objects &amp; Irregular Shapes</a></li>
      <li><a href="../6Poly/6Poly/6Polygon.html">Polygonal Blocks</a></li>
      <li><a href="../7Sq/7Sq/7Square.html">Square</a></li>
      <li><a href="#">Triangle</a></li>
      <li><a href="#">Rectangles <br />
      &amp; Bars</a></li>
      <li><a href="#">Glossary</a><!-- end .sidebar1 --></li>
    </ul>
  </div>
  <!-- TemplateBeginEditable name="body" -->  
  <div class="content">
    <h3><span id="h2">Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions Instructions <br />
      </span><br />
      <span class="begsee"><span class="beglink">Beginner's Corner <img src="rightarrow99cinside.jpg" width="18" height="18" /></span></span><br />
    </h3>
    <table width="486" border="1" align="center" cellpadding="10" cellspacing="10">
      <tr align="center" valign="top">
        <th width="130" align="left" scope="row"><img src="../0Frontmatter/StarIconViolet.jpg" width="130" height="130" align="top" /><br />
        <span class="Tabletext"><span class="irishchainlinklabel"><span class="linklabel">linklabel </span></span></span></th>
        <td width="130" align="left"><img src="../0Frontmatter/StarIconViolet.jpg" width="130" height="130" align="top" /><br />
        <span class="Linklabel"><span class="linklabel"><span class="irishchainlinklabel">Irish chain linklabel</span></span></span></td>
        <td width="118" align="left"><img src="../0Frontmatter/StarIconViolet.jpg" width="130" height="130" align="top" /><br />
        <span class="Linklabel"><span class="linklabel">Star</span></span></td>
      </tr>
      <tr align="center" valign="top">
        <th align="left" scope="row"><img src="../0Frontmatter/StarIconViolet.jpg" width="130" height="130" align="top" /><br />
        <span class="linklabel">Star</span></th>
        <td align="left"><img src="../0Frontmatter/StarIconViolet.jpg" width="130" height="130" align="top" /><br />
        <span class="Linklabel1"><span class="Linklabel"><span class="linklabel">Star</span></span></span></td>
        <td><img src="../0Frontmatter/LogCabinIconViolet.jpg" width="130" height="130" align="top" /><br />
        <span class="Linklabel1"><span class="linklabel">Star</span></span></td>
      </tr>
    </table>
  <!-- end .content --></div>
  <!-- TemplateEndEditable -->
  <div class="sidebar2"><!-- TemplateBeginEditable name="Sidebar2" -->
  <!-- TemplateEndEditable -->
  
    <h4><br />
    </h4>
  </div>
  <div class="footer">
    <p><span id="footertext">Copyright  2011 by Susan Preston and Sandra Harrington</span>	</p>
  <!-- end .footer --></div>
<!-- end .container --></div>
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=6229250; 
var sc_invisible=1; 
var sc_security="bfad4021"; 
</script>
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script>
<noscript><div class="statcounter"><a title="vBulletin
analytics" href="http://statcounter.com/vbulletin/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/6229250/0/bfad4021/1/"
alt="vBulletin analytics"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
</body>
</html>

Last edited by Corrosive; 12-16-2011 at 08:43 AM..
Webbedfeat is offline   Reply With Quote
Old 12-16-2011, 01:28 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,176
Default

edit it in notepad or a text editor
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 12-16-2011, 08:02 PM   #3
Webbedfeat
 
Join Date: Oct 2010
Posts: 19
Default

Okies, here goes........thanks!
Webbedfeat is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com