Skip navigation
cydoval
Currently Being Moderated

Unbalanced Body Tag

Apr 16, 2012 11:03 AM

Hello, I am new to web design,  I'm using CS4, and a my template rugby.dwt is producing a unbalanced body tag error at line 13.

 

I am somewhat of a noob at the code, could someone enlighten me on this situation. Ill post 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>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<!-- TemplateBeginEditable name="doctitle" -->

<title>UCD Rugby</title>

<!-- TemplateEndEditable -->

<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

<link href="../CSS/rugby.css" rel="stylesheet" type="text/css"/>

<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

</body>

<!-- TemplateBeginEditable name="Banner" -->

<div class ="header">

<div class="rotate"><img src="../images/cal.jpg" alt="test" name="rotator" width="700" height="250" id="rotator" /></div>

</div>

  <map name="Map" id="Map">

    <area shape="rect" coords="17,164,723,225" href="../index.html" />

  </map>

</div>

<!-- TemplateEndEditable -->

<ul id="MenuBar1" class="MenuBarHorizontal">

  <li class="MenuBarHorizontal"><strong><a href="../index.html" class="MenuBarHorizontal">Home</a></strong> </li>

  <li><a href="../Schedule.html"><strong>Schedule</strong></a>  </li>

  <li><a href="../Roster.html"><strong>Roster</strong></a>  </li>

<li><a href="../New Recruits.html"><strong>New Recruits</strong></a></li>

<li><a href="../history.html"><strong>History &amp; Game</strong></a>        </li>

  <li><a href="../Media.html"><strong>Media</strong></a>  </li>

  <li><a href="../Contact.html"><strong>Contact Us</strong></a>  </li>

</ul>

<p><br />

<hr />

 

   

<div class ="left_column"><!-- TemplateBeginEditable name="LeftText" --><!-- TemplateEndEditable --></div>

<div class ="right_column"><!-- TemplateBeginEditable name="MainText" -->

  <hr />

  <p> </p>

<!-- TemplateEndEditable --></div>

 

 

<div class = "Footer">

  <hr />

  <p>•UC Davis Mens Rugby Club• Davis ,California 95616-</p>

  <hr />

</div>

 

 

<script type="text/javascript">

<!--

var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});

//-->

</body>

</html>

 
Replies
  • Currently Being Moderated
    Apr 16, 2012 11:11 AM   in reply to cydoval

    Remove the "/" from the first instance and it should fix that error:

     

    <link href="../CSS/rugby.css" rel="stylesheet" type="text/css"/>

    <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

    <body>

    <!-- TemplateBeginEditable name="Banner" -->

     


     
    |
    Mark as:
  • Currently Being Moderated
    Apr 16, 2012 10:07 PM   in reply to cydoval

    Remove the red highlighted and insert the green highlited

    </head>

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <!-- TemplateBeginEditable name="doctitle" -->

    <title>UCD Rugby</title>

    <!-- TemplateEndEditable -->

    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>

    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />

    <link href="../CSS/rugby.css" rel="stylesheet" type="text/css"/>

    <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

    </head>

    </body>

    <body>

     

    Gramps

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points