Current Position:Home > Getting Body Tag Error When Updating Template In Dreamweaver

Getting Body Tag Error When Updating Template In Dreamweaver

Update:10-11Source: network consolidation
Advertisement
I get an error message when I have tried to update the template, it says "unbalanced body tag" on line 138. Code is as follows:
<!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>
<!-- #BeginEditable "doctitle" -->
<title>Universal Valve Co.</title>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="../style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<!--#include file="../vsadmin/db_conn_open.asp"-->
<!--#include file="../vsadmin/inc/languagefile.asp"-->
<!--#include file="../vsadmin/includes.asp"-->
<!--#include file="../vsadmin/inc/incfunctions.asp"-->
<table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
  <tr>
    <td rowspan="2"><img src="../images/UniversalLogo2011.jpg" width="294" height="123"></td>
    <td align="right"><a href="../search.asp">SEARCH</a> | <a href="../info.asp">INFORMATION</a>
      | <a href="../clientlogin.asp">DISTRIBUTOR LOGIN </a>| <a href="../orderstatus.asp">ORDER
      STATUS</a> | <a href="../contact.asp">CONTACT US</a></td>
  </tr>
  <tr>
    <td align="right"><form method="post" action="../search.asp">
    <input type="hidden" name="posted" value="1"/>
    <input type="text" name="stext" size="16" class="search" />
    <input name="Submit" type="submit" value="Search" class="sub" />
    </form></td>
  </tr>
  <tr>
    <td colspan="2" class="searchtd"><div id="topnav">
<ul id="navlist">
<li><a href="../default.asp">Home</a></li>
          <li><a href="../about.asp">About Us</a></li>
          <li><a href="../news.asp">News</a></li>
          <li><a href="../products.asp">Products</a></li>
          <li><a href="../info.asp">Information</a></li>
          <li><a href="../contact.asp">Contact Us</a></li>
          <li><a href="../products.asp">All Products</a></li><li><a href="../categories.asp">All Categories</a></li>
          <li><a href="../cart.asp">View PO</a></li>
        </ul></div></td>
  </tr>
</table>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
  <tr>
    <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
  </tr>
  <tr>
    <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
     <td width="140" valign="top" class="leftSide">
<ul>
        <li><a href="Accessories" _mce_href="http://www.universalvalve.com/categories.asp?cat=10">Accessories">http://www.u niversalvalve.com/categories.asp?cat=10">Accessories
          &amp; Tools</a></li>
        <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=12">Air">http://www.universalva lve.com/products.asp?cat=12">Air Towers</a></li>
        <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=16">Air">http://www.universalva lve.com/products.asp?cat=16">Air Tower
          Parts</a></li>
        <li><a href="E-85" _mce_href="http://www.universalvalve.com/products.asp?cat=15">E-85">http://www.universalv alve.com/products.asp?cat=15">E-85 Products</a></li>
        <li><a href="Environmental" _mce_href="http://www.universalvalve.com/products.asp?cat=9">Environmental">http://www.un iversalvalve.com/products.asp?cat=9">Environmental
          Products</a></li>
        <li><a href="Manholeshttp://www.universalvalve.com/products.asp?cat=14">Manholes</a></li>
        <li><a href="Pipe" _mce_href="http://www.universalvalve.com/products.asp?cat=2">Pipe">http://www.universalva lve.com/products.asp?cat=2">Pipe Guards
          & Bollards</a></li>
        <li><a href="Replacement" _mce_href="http://www.universalvalve.com/products.asp?cat=8">Replacement">http://www.univ ersalvalve.com/products.asp?cat=8">Replacement
          Parts</a></li>
        <li><a href="Signagehttp://www.universalvalve.com/products.asp?cat=11">Signage</a></li>
        <li><a href="Spill" _mce_href="http://www.universalvalve.com/categories.asp?cat=3">Spill">http://www.universa lvalve.com/categories.asp?cat=3">Spill
          Containment</a></li>
        <li><a href="Valves" _mce_href="http://www.universalvalve.com/categories.asp?cat=1">Valves">http://www.univers alvalve.com/categories.asp?cat=1">Valves
          & Fittings</a></li>
    <li><a href="../proddetail.asp?prod=pc001">Universal Curb Hose</a></li>
  </ul>
   <h1>Purchase Order</h1>
    <div align="center"><!--#include file="../vsadmin/inc/incminicart.asp"--></div>
<h1><strong>Universal Valve</strong></h1>
<ul><li><a href="../about.asp">About Us</a></li>
     <li><a href="../faq.asp">FAQ</a></li>
    <li></li>
    <li><a href="Bloghttp://universalvalve.wordpress.com/">Blog</a></li>
<li><a href="Facebookhttps://www.facebook.com/pages/Universal-Valve-Co/180204745329542?v=info">Facebook</a></li>
<li><a href="Twitterhttps://twitter.com/universalvalve">Twitter</a></li>
  <li><a href="../contact.asp">Contact Us</a></li>
  </ul>
   <p align="center"><br />
        <br />
   </p>
  </td>
    <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
    <td width="757" valign="top"><!-- #BeginEditable "body" -->     
<h3>Page heading</h3>
<p>Content goes here.</p>
        <!-- #EndEditable --></td>
    <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
  </tr>
  <tr>
   <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
  </tr>
</table>
<table width="900px" border="0" align="center" cellpadding="0" cellspacing="6">
      <tr valign="top">
        <td width="224" align="right"><p><strong>Customer Services</strong></p>
          <p>Phone: (800) 223-0741<br />
          Fax: (800) 443-8258<br />
          Email: <a href="[email protected]
mailto:[email protected]">[email protected]</a></p></td>
        <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
        <td width="224" align="right"><p><strong>More Information</strong></p>
          <p><a href="../station.asp">Price Lists<br />
          Installation Instructions<br />
          Station Drawing</a></p>
        <p> </p></td>
        <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
        <td width="224" align="right"><p><strong>Catalog</strong></p>
          <p>Universal Valve Co. Catalog</p>
        <p> </p></td>
        <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
        <td width="224" align="right"><p> </p></td>
      </tr>
      <tr valign="top">
    <td colspan="7" align="right">&copy; Copyright 2013</td>
      </tr>
</table>
</body>
</html>

The Best Answer

Advertisement
Murray,
That is exactly what I did and I am still getting the error. Here is how the code looks now:
<!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>
<!-- #BeginEditable "doctitle" -->
<title>Universal Valve Co.</title>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="../style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<!--#include file="../vsadmin/db_conn_open.asp"-->
<!--#include file="../vsadmin/inc/languagefile.asp"-->
<!--#include file="../vsadmin/includes.asp"-->
<!--#include file="../vsadmin/inc/incfunctions.asp"-->
<table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
  <tr>
    <td rowspan="2"><img src="../images/UniversalLogo2011.jpg" width="294" height="123"></td>
    <td align="right"><a href="../search.asp">SEARCH</a> | <a href="../info.asp">INFORMATION</a>
      | <a href="../clientlogin.asp">DISTRIBUTOR LOGIN </a>| <a href="../orderstatus.asp">ORDER
      STATUS</a> | <a href="../contact.asp">CONTACT US</a></td>
  </tr>
  <tr>
    <td align="right"><form method="post" action="../search.asp">
    <input type="hidden" name="posted" value="1"/>
    <input type="text" name="stext" size="16" class="search" />
    <input name="Submit" type="submit" value="Search" class="sub" />
    </form></td>
  </tr>
  <tr>
    <td colspan="2" class="searchtd"><div id="topnav">
<ul id="navlist">
<li><a href="../default.asp">Home</a></li>
          <li><a href="../about.asp">About Us</a></li>
          <li><a href="../news.asp">News</a></li>
          <li><a href="../products.asp">Products</a></li>
          <li><a href="../info.asp">Information</a></li>
          <li><a href="../contact.asp">Contact Us</a></li>
          <li><a href="../products.asp">All Products</a></li><li><a href="../categories.asp">All Categories</a></li>
          <li><a href="../cart.asp">View PO</a></li>
        </ul></div></td>
  </tr>
</table>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="4">
  <tr>
    <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
  </tr>
  <tr>
    <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
     <td width="140" valign="top" class="leftSide">
<ul>
        <li><a href="Accessories" _mce_href="http://www.universalvalve.com/categories.asp?cat=10">Accessories">http://www.u niversalvalve.com/categories.asp?cat=10">Accessories
          &amp; Tools</a></li>
        <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=12">Air">http://www.universalva lve.com/products.asp?cat=12">Air Towers</a></li>
        <li><a href="Air" _mce_href="http://www.universalvalve.com/products.asp?cat=16">Air">http://www.universalva lve.com/products.asp?cat=16">Air Tower
          Parts</a></li>
        <li><a href="E-85" _mce_href="http://www.universalvalve.com/products.asp?cat=15">E-85">http://www.universalv alve.com/products.asp?cat=15">E-85 Products</a></li>
        <li><a href="Environmental" _mce_href="http://www.universalvalve.com/products.asp?cat=9">Environmental">http://www.un iversalvalve.com/products.asp?cat=9">Environmental
          Products</a></li>
        <li><a href="Manholeshttp://www.universalvalve.com/products.asp?cat=14">Manholes</a></li>
        <li><a href="Pipe" _mce_href="http://www.universalvalve.com/products.asp?cat=2">Pipe">http://www.universalva lve.com/products.asp?cat=2">Pipe Guards
          & Bollards</a></li>
        <li><a href="Replacement" _mce_href="http://www.universalvalve.com/products.asp?cat=8">Replacement">http://www.univ ersalvalve.com/products.asp?cat=8">Replacement
          Parts</a></li>
        <li><a href="Signagehttp://www.universalvalve.com/products.asp?cat=11">Signage</a></li>
        <li><a href="Spill" _mce_href="http://www.universalvalve.com/categories.asp?cat=3">Spill">http://www.universa lvalve.com/categories.asp?cat=3">Spill
          Containment</a></li>
        <li><a href="Valves" _mce_href="http://www.universalvalve.com/categories.asp?cat=1">Valves">http://www.univers alvalve.com/categories.asp?cat=1">Valves
          & Fittings</a></li>
    <li><a href="../proddetail.asp?prod=pc001">Universal Curb Hose</a></li>
  </ul>
   <h1>Purchase Order</h1>
    <div align="center"><!--#include file="../vsadmin/inc/incminicart.asp"--></div>
<h1><strong>Universal Valve</strong></h1>
<ul><li><a href="../about.asp">About Us</a></li>
     <li><a href="../faq.asp">FAQ</a></li>
    <li></li>
    <li><a href="Bloghttp://universalvalve.wordpress.com/">Blog</a></li>
<li><a href="Facebookhttps://www.facebook.com/pages/Universal-Valve-Co/180204745329542?v=info">Facebook</a></li>
<li><a href="Twitterhttps://twitter.com/universalvalve">Twitter</a></li>
  <li><a href="../contact.asp">Contact Us</a></li>
  </ul>
   <p align="center"><br />
        <br />
   </p>
  </td>
    <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
    <td width="757" valign="top"><!-- #BeginEditable "body" -->     
<h3>Page heading</h3>
<p>Content goes here.</p>
        <!-- #EndEditable --></td>
    <td class="gray" width="1"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
  </tr>
  <tr>
   <td colspan="5" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt="" /></td>
  </tr>
</table>
<table width="900px" border="0" align="center" cellpadding="0" cellspacing="6">
      <tr valign="top">
        <td width="224" align="right"><p><strong>Customer Services</strong></p>
          <p>Phone: (800) 223-0741<br />
          Fax: (800) 443-8258<br />
          Email: <a href="[email protected]
mailto:[email protected]">[email protected]</a></p></td>
        <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
        <td width="224" align="right"><p><strong>More Information</strong></p>
          <p><a href="../station.asp">Price Lists<br />
          Installation Instructions<br />
          Station Drawing</a></p>
        <p> </p></td>
        <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
        <td width="224" align="right"><p><strong>Catalog</strong></p>
          <p>Universal Valve Co. Catalog</p>
        <p> </p></td>
        <td width="1" class="gray"><img src="../images/clearpixel.gif" width="1" height="1" alt =""/></td>
        <td width="224" align="right"><p> </p></td>
      </tr>
      <tr valign="top">
    <td colspan="7" align="right">&copy; Copyright 2013</td>
      </tr>
</table>
</body>
</html>
  • Getting Body Tag Error When Updating Template In Dreamweaver Update:10-11

    I get an error message when I have tried to update the template, it says "unbalanced body tag" on line 138. Code is as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht

  • Error when updating template Update:10-11

    Hi all, Does anyone know why I would be getting the error below: While executing receiveArguments in File_Save.htm, the following Javascript error(s) occured: At line 45 of the file "c:\program files\macromedia\dreamweaver mx\configeration\menus\mm\f

  • Updating Templates in Dreamweaver with a Contribute managed site? Update:11-30

    My company sited up a site for one of our clients using Dreamweaver. We created templates with update sidebar, header and such if needed to. The client uses Contribute to manage the main content sections and create new pages. I have the site saved lo

  • Updating Templates in Dreamweaver & Keeping Client Side Updates Update:11-30

    I have a situation with a website where the client requests a change to be made within the main menu system of the website, so all of the templates & the entire site must be updated. I download the latest version of the site, to ensure the content ad

  • Error while updating phone button template in CUCM 8.6 Update:10-11

    Experts, I'm getting following error while updating phone button template in CUCM 8.6; Update failed. java.sql.SQLException: System catalog (sysprocbody) corrupted. Please check the screen shot attached here with. What could be the reason? Thanks Viv

  • Error accessing file template file not found (error code 2) Update:10-11

    We have 3 admins that work on the website so we use the Check In/ Check Out feature of DW. We all have DW CS6. When I update the template I have no problem (I work on a mac). However, if one of the other admins (Windows) tries he gets the following m

  • Please help noob debug why updating template duplicates content Update:10-11

    Please go to http://www.mmssupplier.com/ to read the code and help me figure out how to stop my pages from duplicating content or a partial table whenever I update my template. It only does this to some of the pages that I built from the template. I'