body tag problem

I'am currently migrating my old website from Frontpage 2003
to Dreamweaver CS3. I have beeen following a online tutorial, in
which it details how to sucessfully move. I have come to a point in
the tutorial which I do not understand. Here are the instructions:
You must put a specifc code before and after all instances of
your <body> tag. However, this tag may have varying
attributes in different pages. Therefore:
Replace all instances of your <body> tag containg your
most standard attributes:
<body (standard attributes)>
with:
<b*ody (standard attributes)>
I do not understand the "<body (standard attributes)>".
In find and replace, how do I find "standard attributes" and what
does this mean?
Any help would be greatfully recieved.

Just out of curiosity -
How many pages are in your site?
Have you used FP Themes?
Have you used FP Shared Borders?
Can you post a link to the home page for this site?
Anyhow, I see what he's doing. And it's clever.
> Everything else before this was pretty straight forward
but this whole
> "(satandard attributes)" thing is confusing.
Let's see the answers to the above questions, and I'll guide
you as to the
rest....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Syztemlord" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for the input guys, here are the complete steps,
I'm unsure how to
> do
> step 3.
>
> <body> tag
> You must put a specifc code before and after all
instances of your <body>
> tag.
> However, this tag may have varying attributes in
different pages.
> Therefore:
>
> 1. Replace all instances of your <body> tag
containg your most standard
> attributes:
> <body (standard attributes)>
> with:
> <b*ody (standard attributes)>
>
> 2. Search the website for remaining occurrences of:
> <body (without ">")
> If there aren't any, you're done - go to point next step
(b.3.).
>
> If there are, it means that some page have different
<body> attributes
> than
> the standard one. Open one of these pages and replace
sidewide all
> intances of:
> <body (other attributes)>
> with:
> <b*ody (standard attributes)>
>
> Take note of these other attributes for later steps:
your are now loosing
> them. Note that Dreamweaver only accepts one set of
<body> attributes for
> all
> pages under a same template. At a later stage, you may
create different
> templates with other <body> attributes for pages
that must have a
> different
> look (such as photo album pages).
>
> Repeat this step until there are no more occurrences of
"<body" in your
> website - meaning all <body> tags have been
replaced with:
> <b*ody (standard attributes)>.
>
> 3. Now replace sitewide:
> <b*ody (standard attributes)>
> with:
> <body (standard attributes)>
> <!-- I*nstanceBeginEditable name="Body" -->
>
>
> Everything else before this was pretty straight forward
but this whole
> "(satandard attributes)" thing is confusing.
>

Similar Messages

  • Multiple Body tags error when using library items

    Hi all,
    I have a navbar that I created in FW and exported as a DW
    library item. When I drag and drop the library item (navbar) into a
    site page, I get an error every time I try to save that page. The
    error states that the body tag was in the wrong place and has been
    moved to the right place. The problem is never fixed though and I
    keep being spammed by the error dialog.
    In reviewing the code, it appears that the library item has
    its own body and preload. So adding the library item to the page
    causes a duplication of the body tags and preload images code.
    Any thoughts as to how I can fix this or avoid it would be
    greatly appreciated.

    You are right, no <htm> <body> or css styles go
    into a library item.
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.DreamweaverResources.com
    - CSS Templates|Tutorials
    http://www.csstemplates.com.au
    http://www.perrelink.com.au
    - Web Dev
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    "Mabou2" <[email protected]> wrote in
    message
    news:e906ap$ed8$[email protected]..
    > Hi Osgood,
    >
    > I have a vague recollection of hearing or reading that
    library items are
    > not
    > supposed to have anything like a <body> tag or
    code that makes them act
    > like an
    > html page, but I can't remember clearly enough to take
    action.
    >
    > I would love to hear from someone who knows the library
    paradigm.
    >

  • Body tags qns

    hi, I have problems in body tags
    <body ????="abc()"></body>
    Can i know what body events to use so that before the form is loaded it can call the abc() method which is a javascript

    <html>
    <head>
    <title>Height vs Age</title>
    <style type="text/css">
    <!--
    body {
         background-color: #FFFFCC;
    -->
    </style>
    <script language="javascript">
    function generateGraph(ageEntered,heightEntered)
         alert('2');
         var age = ageEntered;
         var height = heightEntered;
         document.myApplet.inputAge=age;
         document.myApplet.inputHeight=height;
    </script>
    <script language="javascript">
    function retrieve()
         alert('1');
         var ageEntered=opener.inputForm.ageTf.value;
         var heightEntered=opener.inputForm.heightTf.value;
         generateGraph(ageEntered,heightEntered);
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
    <body onLoad="retrieve()">
    <applet code="Height.class"
    name="myApplet" width="500" height=500
    mayscript
    archive="jfreechart-0.9.21.jar,jcommon-0.9.7.jar,jcommon-0.9.7-junit.jar">
    </applet>
    </body>
    </html>
    The problem here is that i want to call the javascript and make changes in the applet before showing it

  • Why doesn't a body tag background image show up in a browser?

    I've set a gif image to repeat as a background in my body tag and I can't get it to preview in a browser. I see the background fine when doing a live view in DW. I've tryed other images and none will preview in a browser. I've tryed to trouble shoot everything I can think of why this is not working and at this point I'm dumb-founded. Any help here would be most appreciated, I'm swamped with work and I really need to get this file off for client approval. Thanks in advance for any response - Vanessa
    External CSS
    body {
    color: #000;
    text-align: center;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 100%;
    background: #DAD7C5 url(/_assets/bck.gif) repeat-x left top;
    Page's Source 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" />
    <title>Forster Sales</title>
    <link href="_css/main.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    </style>
    <meta name="Keywords" content="construction toys, eco-friendly toys, eco-friendly crafts, European toys, European baby products, made in Canada, flat head in babies, canadian sales representatives, Love Nest, Sesame Street, Roary, Nascar, Ben 10, Tamagotchi, Harumika, Disney, kids cookbooks, K'NEX, Bandai, Eebee, PlayMais, Clics, Happy Cube, Babymoov, MOMMA, Bloco, Handstand Kids" />
    <script src="scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="wrapper">
      <div id="container">
        <div id="logo"></div>
        <div id="header">
          <p><span class="blueBold">Forster Sales</span> provides Canadian retailers with

    THANK YOU! !!Yeah, that wasn't the entire code, but your tip to look at the path /assets/ steered me in the right direction.
    This is what I originally had:
    background: #FCFCFB url( /_assets/bck.gif) repeat-x left top;
    when I added the two decimals the problem was fixed
    background: #FCFCFB url(../_assets/bck.gif) repeat-x left top;
    Here's the page on my server http://www.forstersales.com/proofs/proof1/index.html
    Thanks again!
    Vanessa

  • Missing body tag from my code?

    Hi, my server (Domain Express / Parallels) won't let me edit my live website (in WYSIWYG mode) because it can't find the <body> tag. It all works perfectly in the site I created in iWeb - www.franhayterconsulting.co.uk , but not working at all in the one I have used Dreamweaver for - www.kateharrisconsulting.co.uk . Is there a genius out there that can help spot what I've done differently?
    As a newbie, iWeb and Dreamweaver are so helpful for simple sites - but unfortunately the first sign of a problem and I'm clueless!! Thank you so much for any advice, much appreciated indeed.

    The minimum structure for an HTML document looks like
    <!doctype html>
    <html>
         <head>
         </head>
         <body>
         </body>
    </html>
    The highlighted tags are not present in your document.
    Also have a look here http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.kateharrisconsulting.co.uk%2F
    Gramps

  • Unbalanced Body Tag on a line that doesn't exist

    I'm receiving an unbalanced body tag error on line 129 and
    line 194, however these two lines don't exist in the template
    ALSO, whenever I create new pages from the template it
    automatically tries to save the new pages as .dwt and places them
    in the templates folder instead of the chosen format of html.
    Please advise. (see code attached)

    > I'm receiving an unbalanced body tag error on line 129
    and line 194,
    > however
    > these two lines don't exist in the template
    This definitely means your page is scrambled.
    > ALSO, whenever I create new pages from the template it
    automatically tries
    > to
    > save the new pages as .dwt and places them in the
    templates folder instead
    > of
    > the chosen format of html.
    This REALLY definitely means your page is scrambled. Are you
    using FILE |
    New From Template when you create these new pages?
    Looking at the code below, I can see several anomalies.
    1. There is this unnecessary line - <!-- TemplateInfo
    codeOutsideHTMLIsLocked="false" -->. Why is it there?
    2. There is NO editable region around the <title> tag.
    3. There is NO editable region in the head of the page in
    addition to #2,
    above.
    These last two are the sign of an improperly made template.
    Do this -
    Create a new page (Basic HTML).
    Use FILE | Save as Template....
    Look at the code in the head region of the page, particularly
    the editable
    region around the <title> tag, and the other editable
    region in the head
    called "head".
    Make your template file look like that.
    Always use FILE | Save as Template when you create your
    templates and you
    won't have this problem again.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Treasure" <[email protected]> wrote in
    message
    news:[email protected]...
    > I'm receiving an unbalanced body tag error on line 129
    and line 194,
    > however
    > these two lines don't exist in the template
    >
    > ALSO, whenever I create new pages from the template it
    automatically tries
    > to
    > save the new pages as .dwt and places them in the
    templates folder instead
    > of
    > the chosen format of html.
    >
    > Please advise. (see code attached)
    >
    >
    >
    > <!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>
    > <!-- TemplateInfo codeOutsideHTMLIsLocked="false"
    -->
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    >
    > <title>I AM's Temple Christian Academy,
    Plainfield, NJ 07060</title>
    >
    > <style type="text/css">
    > <!--
    > body {background-image: url(../images/background.gif);
    > background-repeat: no-repeat;}
    > p {
    > font-family: Arial, Helvetica, sans-serif;
    > font-size: 12px;
    > font-style: normal;
    > color: #000000;
    > background-color: #FFFFFF;
    > }
    > -->
    > </style>
    > <link href="../iatca.css" rel="stylesheet"
    type="text/css" />
    > <style type="text/css">
    > <!--
    > a:link {color: #990000;}
    > a:visited {color: #006699;}
    > .style1 {font-size: 9px}
    > .style9 {font-size: 12px;
    > color: #FFFFFF;
    > font-weight: bold;}
    > -->
    > </style>
    > </head>
    >
    > <body>
    > <table width="1018" height="937" border="0">
    > <tr>
    > <td width="1012" height="933"
    valign="top"><table width="1002"
    > border="0"
    > cellpadding="16" cellspacing="0">
    > <tr>
    > <td height="17" colspan="3"> </td>
    > </tr>
    > <tr>
    > <td height="108" colspan="3"
    valign="middle"> </td>
    > </tr>
    > <tr>
    > <td width="17%" height="729"
    valign="top"><table width="100%"
    > border="0">
    > <tr>
    > <td><a
    href="../index.htm">Home</a></td>
    > </tr>
    > <tr>
    > <td><a href="../about.htm">About
    IATCA</a></td>
    > </tr>
    > <tr>
    > <td><a href="../schoolhours.htm">School
    Hours </a></td>
    > </tr>
    > <tr>
    > <td><a href="../history.htm">History of
    IATCA </a></td>
    > </tr>
    > <tr>
    > <td><a href="../calendar.htm">School
    Calendar </a></td>
    > </tr>
    > <tr>
    > <td><a
    href="../admission.htm">Admissions</a></td>
    > </tr>
    > <tr>
    > <td><a href="../accounting.htm">Accounting
    Policy</a></td>
    > </tr>
    > <tr>
    > <td><a
    href="../fees.htm">Fees</a></td>
    > </tr>
    > <tr>
    > <td><a
    href="../tuition.htm">Tuition</a></td>
    > </tr>
    > <tr>
    > <td><a
    href="../academics.htm">Academics</a></td>
    > </tr>
    > <tr>
    > <td><a href="../dresscode.htm">Dress
    Code</a></td>
    > </tr>
    > <tr>
    > <td height="19"><a
    href="../classguidelines.htm">Classroom
    > Guidelines</a> </td>
    > </tr>
    > <tr>
    > <td><a
    href="../miscellaneous.htm">Miscellaneous</a></td>
    > </tr>
    > <tr>
    > <td><a
    href="../grading.htm">Grading</a></td>
    > </tr>
    > <tr>
    > <td height="17"><a
    href="../parentprayer.htm">Parent's
    > Prayer</a>
    > </td>
    > </tr>
    > <tr>
    > <td><a href="../studentprayer.htm">Student
    Prayer </a></td>
    > </tr>
    > <tr>
    > <td><a href="../contact.htm">Contact
    Us</a></td>
    > </tr>
    > </table></td>
    > <td width="62%" valign="top"><!--
    TemplateBeginEditable
    > name="body" -->
    > <p>content</p>
    > <!-- TemplateEndEditable --></td>
    > <td width="21%" valign="top"><!--
    TemplateBeginEditable
    > name="News" -->
    > <p>news</p>
    > <!-- TemplateEndEditable --></td>
    > </tr>
    > </table>
    > <p align="center" class="style1">For questions
    about this site,
    > contact <a
    > href="mailto: [email protected]">Melanie
    Waters</a> <a
    > href="
    http://www.proverbs3.org">www.proverbs3.org
    </a></p></td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

  • HTML Tag problem when sending mails through APEX

    Hi,
    My code for sending mail is below:
    DECLARE
    l_body CLOB;
    l_body_html CLOB;
    cursor c2 is
    SELECT pn,pdt_name FROM lib_details WHERE a_date BETWEEN to_date(:P13_SDATE,'DD-MON_YYYY') AND to_date(:P13_EDATE,'DD-MON-YYYY');
    BEGIN
    for c_lib in c2
    loop
    l_body_html:=l_body_html ||
    '<html><body>
    ul>
    li>'||c_lib.pn||' , '||c_lib.pdt_name||' /li>
    /ul>'; p;
    l_body_html:=l_body_html ||'</body></html>';
    apex_mail.send(
    p_to => 'xxxx',
    p_from => 'xxxx',
    p_body => l_body_html,
    p_subj => 'Test Mail');
    END;
    Gives me the output in the format below:
    all the <html><body> tags also comes along with the email, though I get the correct output, what is the problem here?
    I am not able to figure this out. Can someone help?
    OUTPUT
    <html><body>
    ul> li>a,b
    /ul><html><body>
    ul> li>c,d
    /ul><html><body>
    PLEASE NOTE: I have intentionally removed the starting tags (<) of ul and li so that the post will not be formatted.
    Edited by: Suzi on Feb 9, 2012 1:18 PM

    >
    Gives me the output in the format below:
    all the <html><body> tags also comes along with the email, though I get the correct output, what is the problem here?
    I am not able to figure this out. Can someone help?For HTML output you need to send it using the <tt>p_body_html</tt> parameter, not <tt>p_body</tt>.
    PLEASE NOTE: I have intentionally removed the starting tags (&lt;) of ul and li so that the post will not be formatted.Posting code wrapped in <tt>\...\</tt> tags eliminates the need to resort to these bizarre circumlocutions.

  • Developerproblem: i cant get the onkeyup event to work on the body tag in firefox how can i do this? this used to work in previous versions of firefox

    i made an application using DOM and i am using extensively keyup events in the body tag
    in previous versions of firefox this was working fine
    but now it doesnt
    events that do not work for body tags that i have used are
    onKeypress
    onKeydown
    how ever the event does fireup if the html element are of input types (e.g. textboxes, images, etc)
    how do i address this problem?

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • [ADF BC/JSF] body tag: InitialFocusID

    Hello!
    i have some questions concerning the InitialFocusID Attribute of the body tag:
    my jsf-jsp-page is pretty large so I must scroll to get to a specific faces-component.
    so what would be the behavior of InitialFocusID if i set it to this component described? (does it automatically jump to the component? - this is the behavior i need at page-load)
    hope some of you can provide me information.
    cheers, stef

    Thank you Gabrielle. At least now I have an excuse to tell my boss why I can't get it to work.
    Any idea when it may be available? Would it be a better idea to implement the table in plain vanilla JSF, and when ADF Faces is ready for ADF BC then do the migration?
    Are there any workarround to this problem?
    Thank you for your time,
    Pablo

  • Dreamweaver CC Library Item with rollover link produces two body tags. Why?

    I have a library item which is used in two pages and works correctly if it does not contain a rollover arrow with a link taking you to the top of the library item. This produces the following near the top of each of the containing pages:
    </head>
    <body class="indexpage">
    <!-- #BeginLibraryItem "/Library/homemenu.lbi" -->
    <p><a id="top"></a></p>
    Note that the Library Item does not itself have a <body> tag in this original, working version.
    The problem arises when I insert an image rollover with a link up to #top (which is defined as above).
    First, the Library Item has the following near its top:
    <script ...>
    ... various functions to handle the rollover
    </script>
    <body onLoad="MM_preloadImages('../images/uparrowred2.gif')">
    <p><a id="top"></a></p>
    Secondly, the containing pages now have the following near the top:
    </head>
    <body class="indexpage" onLoad="MM_preloadImages('images/uparrowred2.gif)">
    <!--#BeginLibraryItem "Library/homemenu.lbi" -->
    <script ...>
    ... various functions to handle the rollover
    </script>
    <body onLoad="MM_preloadImages('../images/uparrowred2.gif')">
    <p><a id="top"></a></p>
    It can be seen (shown in red) that the Library Item has correctly transferred the onLoad instruction to the containing page's <body> tag and at the same time altered the address of the GIF image from '../images/xxx.gif' to 'images/xxx.gif'. [The root folder with the various html pages has a number of subfolders including 'images' and 'Library']. But now, unfortunately, the containing pages have two <body> tags with the second one pointing to the wrong location for the GIF image.
    Would someone please explain what is going on. I can think of three possibilities: (1) I may be doing something really stupid, (2) there may be a bug in Dreamweaver CC or (3) Library Items may not be allowed to contain anything "complicated" like a rollover. I did see a very old (2007) discussion in this forum suggesting that Library Items were rather limited in what they could contain, but over the intervening six years I would have expected things to have improved.

    Thank you, but in that case I'm not sure I understand the purpose of Library Items. Before I added the Library Item, there was nothing to preload. When I add a rollover to the Library Item, Dreamweaver creates the preloader instruction within the Library Item. Then when I include the Library Item in an html page, Dreamweaver controls where the preloader is put.
    Do I then need to manually edit what Dreamweaver has done? In this instance it would have been almost as quick to have ignored the use of a Library Item and copied and pasted the relevant code into the two pages and manually created the revised <body> tag with a preloader. In my relative inexperience with Dreamweaver, I just thought that using a Library Item in multiple pages would save me some effort when I wanted to change the content of the Library Item. As I said, the Library Item worked OK until I added a rollover within it.

  • Another question - using dynamic value body tag????

    Can this be done?
    I need to send an ASP dynamic value to my 'open browser
    window' pop up.
    Something like:
    <body
    onload="MM_openBrWindow('subscribe_pop.asp?email="&<%(Recordset1.Fields.Item("emailaddres s").Value)%>','','location=yes,width=400,height=200')">
    Any ideas?
    Thanks
    Andy

    Change what you have to this -
    <body onload="@@(onload)@@">
    The downside to this method is that your popup link WILL NOT
    BE MANAGED. If
    you change the name of the page or the location of the page,
    you will have
    to change the value of this Template parameter, and then save
    it to
    propagate through the site. Then, of course, you will have to
    upload your
    local files again.
    You do know that this popup will be blocked by modern
    browsers, right?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Andy" <[email protected]> wrote in message
    news:[email protected]...
    > Morning Dooza - Sorry it's me again ;-)
    >
    > Well i've part way through this but seem to have created
    another problem.
    > When i used the 'make attribute editable' the code
    generated on the page
    > that launches the pop up was:
    > -----------
    > <!-- InstanceEndEditable --><!--
    InstanceBeginEditable name="head" -->
    > <!-- InstanceEndEditable --><!-- InstanceParam
    name="onload" type="text"
    >
    value="P7_initPM(0,0,1,-20,10);MM_openBrWindow('subscribe_pop.asp?custemail=<%=(Customers RS.Fields.Item("CustomerEmail").Value)%>','','location=yes,width=400,height=200')"
    > -->
    > </head>
    >
    > <body onload="P7_initPM(0,0,1,-20,10)">
    > --------
    >
    > It didn't put the 'MM_openBrWindow' code in the Body
    Tag, only in the
    > 'InstanceParam name'
    > I opened the page up in note pad and added it manually
    and all the code
    > worked as it should.
    >
    > The problem now is that when i change the template, my
    page isn't updated
    > at all.
    >
    > Before i used 'make attribute editable' my Body Tag
    contained just the
    > <body onload="P7_initPM(0,0,1,-20,10)">
    >
    > Any ideas??
    >
    > Thanks
    > Andy
    >
    >
    >
    >
    > "Dooza" <[email protected]> wrote in message
    > news:[email protected]...
    >> Andy wrote:
    >>> Hi Dooza
    >>>
    >>> I'm still not getting the value passed to the
    pop up :-(
    >>>
    >>> I followed the steps below and the page passing
    the email address is
    >>> producing the correct email.
    >>> The subscriber page is still giving the Either
    BOF or EOF is True error.
    >>>
    >>> I tried the subscriber page (local url) using
    subscribe_pop.asp?ID=516
    >>>
    >>> 516 is my email address. The recordset on the
    subscribe_pop.asp page
    >>> pulls the email address based on the ID.
    >>>
    >>> For some reason this code just isn't sending the
    value.
    >>>
    >>>
    >>>
    "P7_initPM(0,0,1,-20,10);MM_openBrWindow('subscribe_pop.asp?ID=<%=(CustomersRS.Fields.Ite m("CustomerEmail").Value)%>','','location=yes,width=400,height=200')"
    >>>
    >>> Really scratching my head now
    >>
    >> When you view the page in your browser that launches
    the pop up, what
    >> does the source look like for the body tag?
    >>
    >> Hang on, your passing the email address as the ID?
    Are you sure you want
    >> to do that? Don't you want to pass the ID? Maybe
    thats where you are
    >> going wrong?
    >>
    >> Dooza
    >> --
    >> Posting Guidelines
    >>
    http://www.adobe.com/support/forums/guidelines.html
    >> How To Ask Smart Questions
    >>
    http://www.catb.org/esr/faqs/smart-questions.html
    >
    >

  • Getting Body Tag Error When Updating Template In Dreamweaver

    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>

    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>

  • Where can I get an Html error report of all the syntax and tag problems?

    Where can I get an Html error report of all the syntax and tag problems?

    Thank you for your answer.
    Where is the DW validation for me?
    My files are in my computer so I don’t have an external URL.
    File > validation > as xml = closes DW... Maybe because it is not a correct command for HTML,
    And
    Window > results > validation = gives a partial mistakes (e.g. shows an open tag without closing tag, but doesn’t show a closing tag without an open tag).
    Thank you.

  • Unbalanced body tag error

    I am trying to save a html document as a template but am receiving an unbalanced body tag message.
    I appear to have both an opening <body> and closing </body> tag and no further body tags.
    Could you please help?
    The code is below:
    <!DOCTYPE HTML>
    <html>
    <head>
    <link href="css/styles.css" rel="stylesheet" type="text/css" media="screen">
        <link href="css/print.css" rel="stylesheet" type="text/css" media="print>
        <title>Poetrynews.co.uk</title>
    </head>
    <body>
    <div id="outer-wrapper">
    <div id="central-container">
      <div id="logo"> <a href="index.html"><img src="images/furniture/poetry_news_logo.jpg" /></a>
        </div>
            <div id="social-media">
             <ul>
                 <li> <a href="http://www.facebook.com"><img src="images/icons/facebook-logo40.jpg" /></a></li>
                    <li> <a href="#"><img src="images/icons/rss_logo40.jpg" /></a></li>
                    <li> <a href="http://www.twitter.com"><img src="images/icons/Twitter_logo640.jpg" /></a></li>
                    <li> <a href="http://www.youtube.com"><img src="images/icons/youtube-logo40.jpg" /></a></li>
                </ul>
        </div>
       <div id="top-nav">
             <ul>
                 <li><a href="index.html">Home</a></li>
                 <li><a href="news.html">News</a></li>
                    <li><a href="interviews.html">Interviews</a></li>
                    <li><a href="features.html">Features</a></li>
                    <li><a href="reviews.html">Reviews</a></li>
                    <li><a href="videos-pictures.html">Videos/Pictures</a></li>
                    <li><a href="competitions.html">Competitions</a></li>
                    <li><a href="contact.html">Contact us</a></li>
                </ul>
        </div>
        <div id="main-content-home-box">
             <div id="top-story-home">
                 <h1>Seamus Heaney at Hay Festival</h1>
                    <img src="images/article_images/657seamus_heaney_test.jpg" width="658" height="380" alt="Seamus Heaney">
                  <p>Irish poet to speak about his poetry, life and lots of other jolly interesting things at Hay on Wye. Read more about this make believe stuff. </p>
            </div>
         <div id="latest-news-home">
             <h2><a href="news.html">Latest News</a></h2>
             <ul>
                 <li>
                   <h3>Government cuts are 'hitting poetry' say critics</h3></li>
                    <li>
                      <p>Calls for literature to be taken seriously.</p></li>
                    <li>
                      <h3>Caernarfon to hold three-day poetry festival</h3></li>
                    <li>
                      <p>Irish master just one of many to hit Wales.</p></li>
                    <li>
                      <h3>Review: Kathleen Jamie explores nature's spirit</h3></li>
                    <li>
                      <p>Another worthwhile journey into the wilderness.</p></li>
                    <li>
                      <h3>Picador signs up 15-year-old prodigy</h3></li>
                    <li>
                      <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                    <li>
                      <h3>Picador signs up 15-year-old prodigy</h3></li>
                    <li>
                      <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                </ul>
      </div>
        </div>
        <div id="second-level-content-box">
        <div id="story-two-home">
            <h3>Benjamin launches latest volume</h3>
            <img src="images/article_images/benjamin_zephaniah_test430.jpg" width="430" height="200" alt="Benjamin Zephaniah">
            <p>Rasta poet is delighted to be able to explore new ground.</p>
       </div>
       <div id="story-three-home">
             <h3>Review: The latest Carol Ann Duffy</h3>
          <img src="images/article_images/carol_ann_duffy_test430.jpg" width="430" height="200" alt="Carol Ann Duffy">
       <p>Another  triumph from the pen of the British poet laureate.</p>
          </div>
        </div>
      <div id="main-video-content-box">
            <div id="latest-video-home">
                    <h2><a href="news.html">Latest videos</a></h2>
                        <ul>
                        <li>
                          <h3>Government cuts are 'hitting poetry' say critics</h3></li>
                        <li>
                          <p>Calls for literature to be taken seriously.</p></li>
                        <li>
                          <h3>Caernarfon to hold three-day poetry festival</h3></li>
                        <li>
                          <p>Irish master just one of many to hit Wales.</p></li>
                        <li>
                          <h3>Review: Kathleen Jamie explores nature's spirit</h3></li>
                        <li>
                          <p>Another worthwhile journey into the wilderness.</p></li>
                        <li>
                          <h3>Picador signs up 15-year-old prodigy</h3></li>
                        <li>
                          <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                        <li>
                          <h3>Picador signs up 15-year-old prodigy</h3></li>
                        <li>
                          <p>Cornish poet said to have a 'voice like thunder.'</p></li>
                        </ul>
             </div>
             <div id="main-video-home">
                <h1>Video interview: Jo Shapcott</h1>
                <img src="images/article_images/jo_shapscott_test657.jpg" width="658" height="380" alt="Jo Shapcott">
                <p>See our exclusive interview with Jo Shapcott. The poet discusses her own body of work and the creations of he contemporaries she  admires.</p>
             </div>
        </div>
       <div id="amazon-widget">
        </div>
       <div id="button-one-home">
        </div>
       <div id="button-two-home">
        </div>
       <div id="button-three-home">
        </div>
       <div id="button-four-home">
        </div>
       <div id="button-five-home">
        </div>
       <div id="button-six-home">
        </div>
       <div id="google-widget">
        </div>
        <div id="bottom-nav-puff-1">
             <h3>Poetry events</h3>
            <img src="images/furniture/hay215.jpg" width="216" height="100" alt="Hay Festival">
          <p>News from festivals and other events.</p>
            </div>
        <div id="bottom-nav-puff-2">
             <h3>Poetry prizes</h3>
            <img src="images/furniture/prize215.jpg" width="216" height="100" alt="Lecture hall">
          <p>The latest from all the top prizes.</p>
            </div>
        <div id="bottom-nav-puff-3">
             <h3>Where you live</h3>
            <img src="images/furniture/map215.jpg" width="216" height="100" alt="Map of British Isles">
          <p>News from around the UK and Ireland.</p>
            </div>
        <div id="bottom-nav-puff-4">
             <h3>Poem of the day</h3>
            <img src="images/furniture/poem215.jpg" width="216" height="100" alt="Manuscript">
          <p>A new clasic poem to read every day.</p>
            </div>
         <div id="bottom-nav">
             <ul>
                 <li><a href="index.html">Home</a></li>
                 <li><a href="news.html">News</a></li>
                    <li><a href="interviews.html">Interviews</a></li>
                    <li><a href="features.html">Features</a></li>
                    <li><a href="reviews.html">Reviews</a></li>
                    <li><a href="videos-pictures.html">Videos/Pictures</a></li>
                    <li><a href="profiles.html">Profiles</a></li>
                    <li><a href="competitions.html">Competitions</a></li>
                    <li><a href="blogs.html">Blogs</a></li>
                    <li><a href="complaints.html">Complaints</a></li>
                    <li><a href="advertise.html">Advertise with us</a></li>
                    <li><a href="contact.html">Contact us</a></li>
                </ul>
          </div>
      <div id="footer">
            <p>@2011 PT Scott Media. All rights reserved.  Dolwyn, Glynafon Terrace, Waunfawr, Gwynedd, UK, LL55 4YY.
       </div>
    </div>
        </div>
    </body>
    </html>

    Change this -
        <link href="css/print.css" rel="stylesheet" type="text/css" media="print>
    to this -
        <link href="css/print.css" rel="stylesheet" type="text/css" media="print">
    (note the last double quote)

  • Using body tags AND section tags in same RTF?

    I am trying to create a custom printed PO form in RTF. The requirement is to have certain info be on the header of each page. Due to the complexity of the header, I opted to not use the native Word support for headers/footers and instead used the <?start:body?> tag. The for-each grouping occurs before the "header" and well before the body tag. That worked great. However, when I try to use the form to print more than one PO at a time, it instead prints the header for however many POs there are in the file before printing the lines. Obviously not what I want. I tried adding the "@section" tag to the <?for-each?> tag, but for some reason that causes nothing whatsoever to print - I get blank pages.
    SO, can the body tags be used within the grouping section tags? Any thoughts on why this isn't working for me? Any help on how to accomplish this would be much appreciated!
    Thanks!
    K. Hale
    [email protected]

    Is this on Teaming 2.1? Have you also tried the same on Kablink site (Kablink Teaming) which is now running the Durango beta?
    -- Khurram

Maybe you are looking for