Editable "onload" in body tag

I have a template-based site, but would like to add my own
Javascript function calls to the 'onload' attribute of the 'body'
tag on certain pages. I know that this can be done by setting
'onload' as an "editable attribute" in the template.
However, I also have some 3rd-party extensions, such as
PopMenuMagic from P7, that work by modifying 'onload' in the
template body tag. I think by setting this attribute as editable, I
will then be preventing changes made to the template by these
extensions from propogating to the pages based on the template.
Is there any way around this conundrum?

Here's the link:
http://www.projectseven.com/support/answers.asp?id=129
Walt
"Murray *ACE*" <[email protected]> wrote
in message
news:g21eup$pkj$[email protected]..
> There are tutorials on the PVII site about how to do
this.
>
> --
> 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
> ==================
>
>
> "gordonwd" <[email protected]> wrote in
message
> news:g21d90$nqb$[email protected]..
>>I have a template-based site, but would like to add
my own Javascript
>>function
>> calls to the 'onload' attribute of the 'body' tag on
certain pages. I
>> know that
>> this can be done by setting 'onload' as an "editable
attribute" in the
>> template.
>>
>> However, I also have some 3rd-party extensions, such
as PopMenuMagic from
>> P7,
>> that work by modifying 'onload' in the template body
tag. I think by
>> setting
>> this attribute as editable, I will then be
preventing changes made to the
>> template by these extensions from propogating to the
pages based on the
>> template.
>>
>> Is there any way around this conundrum?
>>
>

Similar Messages

  • Is it possible to make the body tag of a template editable?

    I'm having diffuculty with making the body tag an editable region in the template.
    I need to add some onload stuff to a body tag on a page derived from a template. I am not sure if this is possible.
    And if it isn't does anyone know a workaround?
    Thanks

    Never Mind I found this.

  • OnLoad event on Body tag locked by template

    I have a behavior that needs to be called with an OnLoad event. The page I need it on is attached to a template, so the Body tag is not available for editing. What are my options? Thanks!

    If you are using DW>4 (that's DW4, not DWCS4), then investigate using Template Editable Attributes.
    Alternatively you could use some custom javascript in the editable region of the head of the page or even below the </html> tag to create an onload event, e.g.,
    <script type="text/javascript">window.onload=whatever();</script>

  • Template won't let me edit Body tag

    Hi - I would like to add Google maps API to my website
    however I can't change the <body> tag to:
    <body onload="load()" onunload="GUnload()">
    because it is locked through the template. Can't seem to work
    out how to get around this.
    Is there another way to get Google maps to work other than
    changing the body tag?
    Thanks
    Brett Kinross
    P.S. Still fairly new to this!

    Attribute: onload
    Label: monkeybutt
    Type: TEXT
    Default:
    If you leave the default null, then every page will be
    written like this -
    <body onload=""....
    It's not harmful, but it's ugly.
    Open each child page, use MODIFY | Template Properties >
    select monkeybutt
    (or whatever your label is) in the list of editable regions,
    and enter your
    desired content of the onload event.
    Does that help?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Brett Kinross" <[email protected]> wrote in
    message
    news:eeq3oa$15e$[email protected]..
    > Thanks for your reply Murray. However I find the help
    very confusing. I am
    > able
    > to make attributes such as background colour etc
    editable however I can't
    > work
    > out how to make the load and unload functions
    editable?!?
    > Can you please help what I should enter for the
    following boxes:
    >
    > Attribute: ?
    > Label: ?
    > Type: TEXT I presume
    > Default: ?
    >
    > to get the following result: <body onload="load()"
    onunload="GUnload()">
    >
    > Thanks
    >

  • 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
    >
    >

  • Template Optional region  - BODY TAG

    Hi,
    Is it possible to make a optional region inside the BODY TAG?
    I want place following line inside the body tag (but not on
    all pages!!):
    onload="load()" onunload="GUnload()" ...(code for Google
    Maps).
    I tried insert the optional region but DW doesn't seem to
    accept it...is there another way around?
    Hope someone can help:-)
    mg04

    > Is it possible to make a optional region inside the BODY
    TAG?
    No.
    However, read DW's F1 Help about using Editable Attributes.
    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
    ==================
    "mg04.dk" <[email protected]> wrote in
    message
    news:gd307v$m2p$[email protected]..
    > Hi,
    >
    > Is it possible to make a optional region inside the BODY
    TAG?
    >
    > I want place following line inside the body tag (but not
    on all pages!!):
    > onload="load()" onunload="GUnload()" ...(code for Google
    Maps).
    >
    > I tried insert the optional region but DW doesn't seem
    to accept it...is
    > there
    > another way around?
    >
    > Hope someone can help:-)
    >
    > mg04
    >

  • 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

  • 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

  • Change Body-tag before load of page

    Hi,
    Is there a possibility in PDK.Net to change the body-tag contents of the generated page before pageload.
    I would like to add a Javascript for the body-onload event in some cases (depending on the result of an if-statement).
    Regards,
    Igor

    Hi Igor,
    Since the body tab is generated, there is no possible way to add events to it.
    Can u please describe your scenario as there might be another way to solve this issue.
    Thanks, Reshef

  • Help! BC-Muse : Custom Code before closing Body tag

    I have a  project that is ongoing am constantly updating and publishing from Muse. I also have a custom code that is inserted before the closing body tag that I can't place in Muse (Because the feature is not supported). Every time I publish in Muse I lose this code because Muse will override the page always. So I have to go the code section in BC for the page and reinsert the code. This is giving me headache and stress on my back and sight.
    How can I permanently place  this code before the closing body tag once without the stress mentioned earlier and without Muse re-writing the code for that specific page (I used to think Muse publish edited pages and not the entire site, even when the option to publish 'only modified pages is selected'). Please HELP!

    Thanks Zak, this is the code:
      <script>
    $('#pdropdown').change( function() {
    $('#pdetails>*:not(.hide)').toggleClass('hide');
    var optionVal = $(this).val();
    $('#'+optionVal+'.hide').toggleClass('hide');
    </script>
    I have a web app that loads product list into a dropdown list. (How I wish we had a dropdown list form in Muse that can work with BC web app or a drop down list that can be use to target a specific  widget ID.) Maybe its time Muse widgets have ID so we can target them to appear by fading in, sliding in, etc.)

  • Every inlineframe generates HTML, head and body tag - how to remove it

    Hi,
    I am using inlineframe for adding HTML content. For every inlineframe, HTML, head and body tag is generated.
    How to get rid out of those HTML, head and body tags?
    please suggest
    Edited by: user10302920 on Feb 2, 2011 3:59 AM

    Hi,
    not sure the component is generating this. Must come from the HTML source you reference. If however it is the inline frame then this is not configurable
    Frank

  • 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>
    >

  • 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>

  • 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)

Maybe you are looking for

  • Overview of Flex, Spry needed

    I'm looking for a broad overview of Flex, Spry, Flash and how they may (or may not) relate to one another in an RIA environment. I'm an experienced ASP/Javascript developer (not asp.net), and know very little about Flash development. Obviously I need

  • Regading purchase order number range assign & migo no.range assign

    Hi, Can any body suggest me , Where we assign number range for Purchase order after creation of number range? And also where we define number range for MIGO posting, if any objects for that then give me deatils plz. Regards, Sohail

  • New iPad crashes

    My iPad 2, less than a week old, had an entire meltdown last night. On and off repeatedly all night, even after I wiped it and started it as completely new.   It wouldn't stay off or on.  I'm out of the country and absolutely need it to work. No comp

  • How to enable Change control locking in an environment?

    Hi all, Can anybody tell me how to enable change control locking_ in an environemnt? Any documentation regarding the same will also be very helpfull. Thanks, Anoop Edited by: The Student on May 13, 2009 10:04 PM

  • Can I access my account from the Skype for Android...

    Is it possible to access my account (e.g. change details of Skype to Go numbers) from within the Skype app or do I need to open a browser session to do this ?