PDA

View Full Version : Unbalanced Body tag Error


ashleychrist
10-24-2011, 06:53 PM
Hey Everyone,

So this is my first post on here.

Basically i have searched other threads in here where there is the same error messages but i cant seem to find a solution. I have checked and don't seem to have two body tags.

Thanks for your help in advance

<!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" />
<title>Untitled Document</title>
<link href="../styles/webdeezine_css.css" rel="stylesheet" type="text/css" />

<script src="../includes/jquery-1.4.2.js" type="text/javascript"></script>
<script src="../jQuery/js/jquery.jsocial.js" type="text/javascript"></script>
<link href="../jQuery/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2149023" binding="#social_2" />
</oa:widgets>
-->
</script>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
</head>

<body bgcolor="#C0C0C0" onload="MM_preloadImages('../images/nav-links-roll-over_01.jpg','../images/nav-links-roll-over_02.jpg','../images/nav-links-roll-over_03.jpg','../images/nav-links-roll-over_04.jpg','../images/nav-links-roll-over_05.jpg')">
<div id="container">
<div id="header"><img src="../images/logogrey 3333.jpg" width="408" height="201" alt="WEBDEEZINE LOGO" /></div>
<div id="left_nav"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','../images/nav-links-roll-over_01.jpg',1)"><img src="../images/nav-links_01.jpg" name="home" width="200" height="50" border="0" id="home" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About Us','','../images/nav-links-roll-over_02.jpg',1)"><img src="../images/nav-links_02.jpg" name="About Us" width="200" height="50" border="0" id="About Us" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Portfolio','','../images/nav-links-roll-over_03.jpg',1)"><img src="../images/nav-links_03.jpg" name="Portfolio" width="200" height="50" border="0" id="Portfolio" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Pricing','','../images/nav-links-roll-over_04.jpg',1)"><img src="../images/nav-links_04.jpg" name="Pricing" width="200" height="50" border="0" id="Pricing" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact Us','','../images/nav-links-roll-over_05.jpg',1)"><img src="../images/nav-links_05.jpg" name="Contact Us" width="200" height="50" border="0" id="Contact Us" /></a></div>
<div id="content"></div>
<div id="social">
<div class="social_2"></div>
<script type="text/javascript">
// BeginOAWidget_Instance_2149023: #social_2

$('.social_2').jsocial({
twitter : 'user',
facebook : 'facebook.com/myID',
flickr : 'myID_2',
delicious : 'myID_3',
linked : 'linkedin.com/in/myID',
feed : 'myID_4',
friendfeed : 'myID_5',
digg : 'myID_6',
center : false,
inline : false,
small : true,
newPage : true
});


// EndOAWidget_Instance_2149023
</script></div>

gentleone
10-24-2011, 07:00 PM
Is the body tag closed? I can't see that, because you didn't post all of your code.

Please wrap the posted code in code (#) or html (<>) tags. It's in the menu of the advanced editor.

ashleychrist
10-24-2011, 07:16 PM
Hi Gentle one.

Thanks that was actually enough to help me. Didn't close the body :)

gentleone
10-24-2011, 07:21 PM
I thought so, but coudn't be sure of it.

And welcome to the forum, by the way :)