Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Unbalanced Body Tag

    Can anyone tell me how to fix this? I receive a Dreamweaver error stating that
    I have an unbalance body tag w/in this line of code (which, of course, was
    totally generated by Dreamweaver..so why an error!)


    <body
    onLoad="MM_preloadImages('../Images/registerover.gif','../Images/cartover.gif','
    .../Images/aboutover.gif','../Images/bonsaibirdsover.gif','../Images/horticulture
    over.gif','../Images/avicultureover.gif','../Images/forumover.gif','../Images/co
    ntactover.gif','../Images/shopover.gif')">

    Thanks a lot in advance. I figured it would take me forever to figure out,
    and might take one of you just a moment to look at and figure out in a second!
    I can't use my template for new pages till I fix this line.

    Andrea F. Fahy Guest

  2. Similar Questions and Discussions

    1. Can any body help me?
      Hi, I've just downloaded the developer version of Flash Media Server for testing but am having problems even setting up a stream. I'm totally...
    2. Is there any body workign with WSE here ?
      Hello, I m sorry if i m posting this question to a wrong newsgroup but it seems to me that WSE forum is near to death as there is no activity. Is...
    3. accessing body tag
      I've built a control, and now i need to access the body tag from the page that the control is attached to, to insert an OnLoad attribute. Is there...
    4. Ereg: select all text between <BODY> </BODY> tags..
      Hi yes it is possible. You can use ereg() to acoomplish this "Marco Snoek" <@DONT _ YOU^DARE%SEND/SPAM!!!@remove/this@remove/this> wrote in...
    5. unbalanced 6228 fiber cards
      I have an IBM 7040-P690 with 4 LPAR's. Each LPAR has 2 IBM 6228 2Gb fiber cards installed through a 2Gb SAN switch to an EMC Symmetrix, using EMC...
  3. #2

    Default Re: Unbalanced Body Tag

    Most likely that is not where the problem is. Can you tell me if you have
    the following tags on your page, please?

    <head>
    </head>
    </body>

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Andrea F. Fahy" <webforumsuser@macromedia.com> wrote in message
    news:en23j1$8b7$1@forums.macromedia.com...
    > Can anyone tell me how to fix this? I receive a Dreamweaver error stating
    > that
    > I have an unbalance body tag w/in this line of code (which, of course, was
    > totally generated by Dreamweaver..so why an error!)
    >
    >
    > <body
    > onLoad="MM_preloadImages('../Images/registerover.gif','../Images/cartover.gif','
    > ../Images/aboutover.gif','../Images/bonsaibirdsover.gif','../Images/horticulture
    > over.gif','../Images/avicultureover.gif','../Images/forumover.gif','../Images/co
    > ntactover.gif','../Images/shopover.gif')">
    >
    > Thanks a lot in advance. I figured it would take me forever to figure
    > out,
    > and might take one of you just a moment to look at and figure out in a
    > second!
    > I can't use my template for new pages till I fix this line.
    >

    Murray *ACE* Guest

  4. #3

    Default Re: Unbalanced Body Tag

    I have a similar problem, if anyone could help i would GREATLY appreciate it.
    I have finished designing a template, when i right click on the file and click 'new from template' I get an error saying that there is an error at line 96: unbalanced body tag. I'm new at this and definately need some outside help. Thanks! This is my code:


    <style type="text/css">
    <!--
    body {
    background-color: #EAEAEA;
    margin: 0px;
    }
    #content p {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    }
    #wrapper {
    background-color: #FFF;
    width: 650px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: 300px;
    }
    #header {
    background-color: #009;
    float: left;
    width: 650px;
    }
    #content {
    background-color: #FFF;
    float: right;
    width: 500px;
    margin: 0px;
    padding: 15px;
    }
    #sidebar {
    background-color: #F00;
    float: left;
    width: 150px;
    background-image: url(../images/banner/background_white.jpg);
    }
    #footer {
    background-color: #95CAFF;
    float: left;
    width: 650px;
    }
    h2 {
    font-size: 18px;
    font-family: "Orator Std";
    color: #666;
    }
    #footer p {
    font-size: 12px;
    font-family: Tahoma, Geneva, sans-serif;
    color: #666;
    width: 650px;
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    }
    h1 {
    color: #666;
    font-family: "Orator Std";
    font-size: 20px;
    padding-left: 0px;
    text-align: left;
    text-indent: 0px;
    border-bottom-width: thin;
    border-bottom-style: solid;
    border-bottom-color: #666;
    }
    -->
    </style>
    <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>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <body onload="MM_preloadImages('../images/buttons/home_btn_over.jpg','../images/buttons/useful_links_btn_over.jpg','../images/buttons/contact_us_btn_over.jpg','../images/buttons/about_us_btn_over.jpg','../images/buttons/our_staff_btn_over.jpg','../images/buttons/disclaimer_btn_over.jpg')">
    <div class="wrapper" id="wrapper">
    <div class="header" id="header"><img src="../images/banner/header_one.jpg" width="650" height="100" alt="header" /></div>
    <div class="content" id="content"><!-- TemplateBeginEditable name="content" -->
    <p>&nbsp;</p>
    <p>&nbsp; </p>
    <h1> About Us</h1>
    <p>Corrosion Risk Management Pty Ltd provides leading edge corrosion science and technology solutions for management of risk of corrosion damage to high value plant.</p>
    <h2>Key Areas of Application</h2>
    <p>Oil &amp; Gas<br />
    Petrochemical Plant <br />
    Mineral Processing</p>
    <h1>Staff</h1>
    <p>Director: Peter Wilson BSc(Hons), PhD.</p>
    <p>Peter Wilson has more than 25 years experience in contract corrosion research and development and corrosion consultancy.</p>
    <!-- TemplateEndEditable -->
    <p>&nbsp; </p>
    </div>
    <div class="sidebar" id="sidebar"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','../images/buttons/home_btn_over.jpg',1)"><img src="../images/buttons/home_btn.jpg" name="home" width="150" height="25" border="0" id="home" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('risk_management','','../images/buttons/risk_management_btn_over (2).jpg',0)"><img src="../images/buttons/risk_management_btn (2).jpg" name="risk_management" width="150" height="25" border="0" id="risk_management" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('useful_links','','../images/buttons/useful_links_btn_over.jpg',1)"><img src="../images/buttons/useful_links_btn.jpg" name="useful_links" width="150" height="25" border="0" id="useful_links" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact_us','','../images/buttons/contact_us_btn_over.jpg',1)"><img src="../images/buttons/contact_us_btn.jpg" name="contact_us" width="150" height="25" border="0" id="contact_us" /></a>
    <p>&nbsp;</p>
    <p><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about_us','','../images/buttons/about_us_btn_over.jpg',1)"> <img src="../images/buttons/about_us_btn (2).jpg" name="about_us" width="125" height="30" border="2" id="about_us" /></a></p>
    <p><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('our_staff','','../images/buttons/our_staff_btn_over.jpg',1)"><img src="../images/buttons/our_staff_btn.jpg" name="our_staff" width="125" height="30" border="2" align="baseline" id="our_staff" /></a></p>
    <p><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('disclaimer_btn','','../images/buttons/disclaimer_btn_over.jpg',1)"><img src="../images/buttons/disclaimer_btn.jpg" name="disclaimer_btn" width="125" height="30" border="2" id="disclaimer_btn" /></a></p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    </div>
    <div class="footer" id="footer">
    <p>&copy; 2010 Jessica Wilson</p></div>
    </div>
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139