PDA

View Full Version : unblanced body tag


corrina
03-25-2010, 08:59 PM
Good Afternoon-
I am new to dreamweaver and I keep getting this error:
error @ line 10 rotating image.htm: unbalanced body tag.....
So I deleted line 10 and it still doesn't seem to be working. The rotating pictures are from a Fireworks timeline. Any help would be great!
Thanks so much for your time :grin:
Corrina


<!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=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<style type="text/css">
-->
</style>
<link href="../externalstylesheets.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:0px;
top:0px;
width:727px;
height:1120px;
z-index:1;
}
.style1 {font-size: 12px}
-->
</style>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<table width="1600" border="0">
<!--DWLayoutTable-->

davidj
03-25-2010, 09:19 PM
Hi there...

Welcome to forum

I keep getting this error:
error @ line 10 rotating image.htm: unbalanced body tag.....
So I deleted line 10 and it still doesn't seem to be working

Really!

Paste all your code please

DWcourse
03-25-2010, 09:34 PM
Looks like maybe you had two body tags in your document. Deleting one of them (as it appears you may have done) might still leave an extra closing body tag in there somewhere.

We'd really need to see all the code for the page.

corrina
03-25-2010, 09:35 PM
Here you go, thanks for taking a look
<!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=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<style type="text/css">
-->
</style>
<link href="../externalstylesheets.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:0px;
top:0px;
width:727px;
height:1120px;
z-index:1;
}
.style1 {font-size: 12px}
-->
</style>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<table width="1600" border="0">
<!--DWLayoutTable-->
<tr>
<td width="92" height="119" valign="top" bgcolor="#000099" class="nettologo"><!--DWLayoutEmptyCell-->&nbsp;</td>
<td width="195" bgcolor="#000099" class="nettologo"><img src="../images/LOGOFROMKEN.png" width="151" height="132" /></td>
<td width="1299" bgcolor="#000099" class="nettologo"><p>&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="left"> Perfect for your Door County Desination Honeymoon... </p></td>
</tr>
</table>
<div align="center">
<table width="888" height="56" border="0">
<tr>
<td width="882" height="52" bgcolor="#000099" class="header">Vacation Villas Overlooking the Door County Shoreline </td>
</tr>
</table>
</div>
<div align="center">
<table width="901" height="53" border="0">
<tr>
<td width="82" bgcolor="#006699" class="buttons">Home</td>
<td width="186" bgcolor="#006699" class="buttons"> Accomodations &amp; Policies </td>
<td width="121" bgcolor="#006699" class="buttons">Rates &amp; Reservations</td>
<td width="170" bgcolor="#006699" class="buttons"><p>Romantic Additions </p>
</td>
<td width="105" bgcolor="#006699" class="buttons">Amenities </td>
<td width="211" bgcolor="#006699" class="buttons">Maps &amp; Directions </td>
</tr>
</table>
</div>
<div align="center"></div>
<div align="left"></div>
<div align="left">
<table width="881" border="0" align="center" bgcolor="#006699">
<!--DWLayoutTable-->
<tr>
<td width="576" height="388" rowspan="2"><img src="../images/large rotating images.gif" alt="rotatingimages" width="576" height="388" /></td>
<td width="389" height="197"><div align="left"><!-- TemplateBeginEditable name="toprightphoto" --><img src="../girl tubnew.jpg" alt="girlintub" width="311" height="191" /><!-- TemplateEndEditable --></div></td>
</tr>
<tr>
<td height="196" valign="top"><!-- TemplateBeginEditable name="bottomrightphoto" --><img src="../images/13bedroomlarge.png" alt="premierbedroom" width="311" height="194" /><!-- TemplateEndEditable --></td>
</tr>
</table>
</div>
<div align="center"></div><div align="center">
<table width="900" height="659" border="0">
<tr>
<td width="257" class="lefttextbox"><form id="form1" name="form1" method="post" action="">
<label>
<div align="left">Join Our Email List<br />
<input type="text" name="textfield" />
<input type="submit" name="Submit2" value="Submit" id="Submit" />
</div>
</label>
<label>

<div align="left"><br />
</div>
</label>
</form>
<form action="" method="post" name="form2" id="form2">
<div align="center">
<div align="left">
<table width="146" border="0">
<tr>
<td width="140"><p><strong>Check Availabililty </strong></p> </td>
</tr>
</table>
<table width="203" border="0">
<tr>
<td width="197"><span class="style1">Select Your Arrival Date and number of Nights </span></td>
</tr>
</table>
<table width="170" height="98" border="0">
<tr>
<td width="58" class="lefttextbox">Day</td>
<td width="102"><label for="select"></label>
<select name="day" id="day">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select> </td>
</tr>
<tr>
<td class="lefttextbox">Month</td>
<td><label for="select"></label>
<select name="month" id="month">
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">Aug</option>
<option value="9">Sept</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select> </td>
</tr>
<tr>
<td>Year</td>
<td><label for="label"></label>
<select name="year" id="label">
<option>2010</option>
<option>2011</option>
</select> </td>
</tr>
<tr>
<td>Nights</td>
<td><label for="label2"></label>
<p>
<select name="length" id="label2">
<option value="1">1 Night</option>
<option value="2">2 Nights</option>
<option value="3">3 Nights</option>
<option value="4">4 Nights</option>
<option value="5">5 Nights</option>
<option value="6">6 Nights</option>
<option value="7">7 Nights</option>
<option value="8">8 Nights</option>
<option value="9">9 Nights</option>
<option value="10">10 Nights</option>
<option value="11">11 Nights</option>
<option value="12">12 Nights</option>
<option value="13">13 Nights</option>
<option value="14">14 Nights</option>
</select>
</p> </td>
</tr>
<tr>
<td colspan="2"><p><!-- document.write('<input type="hidden" name="javaon" value="Y">'); // -->
</p>
<p align="center">
<input type="submit" name="Submit" value="Check Availability" id="label3" />
</p></td>
</tr>
</table>
</div>
</div>
<label for="label3"></label>
<label></label>
<p>
<label for="Submit"></label></p>
<table width="256" height="152" border="0">
<tr>
<td><p><img src="../images/facebook.gif" alt="facebook" width="144" height="44" /></p>
<p><img src="../images/maps_small_horizontal_logo.png" alt="googlemaps" width="169" height="40" /></p>
<p><img src="../images/twitter.png" alt="twitter" width="155" height="36" /></p>
<p><img src="../images/tripadvisor.gif" alt="tripadvisor" width="150" height="67" /></p></td>
</tr>
</table>
</form>
<p align="left">&nbsp;</p>
<p align="left">&nbsp;</p> <p align="left">&nbsp;</p></td>
<td width="633" class="textbox"><!-- TemplateBeginEditable name="whitetextbox" -->
<p><strong>Welcome to Bay Point Inn</strong>, in scenic Door County, WI, atop a bluff with spectacular water views punctuated by the islands of Green Bay and framed by pristine woodlands in the village of Egg Harbor. </p>
<p>We offer spacious one bedroom accommodations with luxurious interior d&eacute;cor and luscious gardens that mirror the luxury of a European vacation villa. Experience the ultimate vacation with designer furnishings, Hydro-Thermo massage whirlpools, a gourmet breakfast buffet, pools overlooking the shoreline and many other romantic enhancements. </p>
<!-- TemplateEndEditable -->
<table width="418" height="237" border="0" align="center">
<!--DWLayoutTable-->
<tr>
<td width="177" height="43" valign="top" bgcolor="#FFFFFF"><div align="center" class="cellbuttons">
<div align="center">Virtual Tour </div>
</div> </td>
<td width="185" valign="top" bgcolor="#FFFFFF"><div align="center" class="cellbuttons">Sunrise &amp; Sunsets </div></td>
</tr>
<tr>
<td height="64" valign="top" bgcolor="#FFFFFF"><div align="center" class="cellbuttons">
<div align="center">Photo Gallery </div>
</div></td>
<td valign="top" bgcolor="#FFFFFF"><div align="center" class="cellbuttons">
<p>Specials</p>
</div>
<p>&nbsp;</p></td>
</tr>
<tr>
<td height="2" colspan="2"><table width="414" height="120" border="0">
<tr>
<td width="199" height="47" class="cellbuttons">Gift Certificates </td>
<td width="205" class="cellbuttons">Packages</td>
</tr>
<tr>
<td height="46" class="cellbuttons">Attractions</td>
<td class="cellbuttons">Partners</td>
</tr>
<tr>
<td height="19" colspan="2">&nbsp;</td>
</tr>
</table></td>
</tr>
</table>
<table width="527" height="279" border="0">
<tr>
<td width="521" height="275" class="textbox"><div align="left"><img src="../images/colleenpoolsmall.jpg" width="414" height="270" align="right" /></div></td>
</tr>
</table>
<p align="center"><img src="../images/logo image only.png" width="140" height="46" /></p></td></tr>
</table>
</div>
<div align="center"></div>

<div align="center">
<table width="882" height="55" border="0">
<tr>
<td width="883" height="51" class="copyright"><p align="center">&copy;Bay Point Inn | 7933 Hwy 42 | Egg Harbor, WI | 54209</p>
<p> 800.707.6660 | 920.868.3297 | stay@baypointinn.com | baypointinn.com </p></td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

DWcourse
03-25-2010, 09:40 PM
I don't see a problem with the code. What do you mean by "it still doesn't seem to be working?"

corrina
03-25-2010, 09:47 PM
When I go to save I update pages, entire site, the checkmark is checked for templates then I get this error: There is an error at line 10 of "c:\documents and settings\myles\mydocumets\baypointinn-dreamweaver\images\large rotating images.htm":Unbalanced body tag

DWcourse
03-25-2010, 10:02 PM
first you were talking about rotating image.htm and now it's large rotating images.htm

Maybe the problem is in your template and you need to fix it there. Otherwise you'll probably need to fix it in every page where it appears.

corrina
03-25-2010, 10:04 PM
Thats what I thought I just don't know how to. The large rotating images is just the name of the file. I thought maybe the template didn't like it because it rotated....I also tried to make it an editable region and that didn't work...

DWcourse
03-25-2010, 10:10 PM
See if you can find an extra <body> in the template file. If you do delete it.

corrina
03-25-2010, 10:51 PM
Thanks again :)