Error message when savinig template file

Hello there,
Hope you can help -  i was originally having problems with my Spry menu bar but thanks to 'Gramps' that is now fixed.
Now when saving my template filet is reports:
There is an error at line 169, column 17 (absolute position 6487) of template: unbalanced body tag.
Have no idea how this has happened.
Code from line 167-170:
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body></html>
Can anyone help? Thank you.
Nicola

The problem is here (on or about line 107)
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head></html>
<div class="container">
  <div class="content">
To be correct, this should be
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head><body>
<div class="container">
  <div class="content">
When learning, there is one important thing to remember, that is when you open a tag, close it immediately. That way you will not forget. Another important method is to indent the code to highlight the elements (element is the opening tag + the closing tag). The following is your document as I would do it as far as indenting is concerned. Please note the highlighted line in the content class. This is to make sure that the background extends to all of the contents. Also not that I have placed all of the JavaScript at the bottom of the document. The reason is that the page is rendered prior to loading the scripts, allowing for faster visual experience. The placing of the JavaScript at the bottom is not neccessary and therefore not widely done.
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Nicola Neo - Art Direction &amp; Design</title>
  <style>
        body {
            margin: 0;
            padding: 0;
            color: #000;
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 100%;
            line-height: 1.4;
            background-color: #CCC;
            margin-left: 0px;
            margin-top: 0px;
        .nav_bar {
            background-color: #000;
            text-align: center;
            width: 800px;
            height: auto;
            background-image: none;
            background-repeat: no-repeat;
            float: left;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            margin-left: 80px;
            color: #FFF;
            font-size: small;
            font-weight: lighter;
            word-spacing: 40em;
            white-space: pre;
        .footer {
            width: 950px;
            background-color: #999;
            height: auto;
            bottom: auto;
        /* ~~ Element/tag selectors ~~ */
        ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
            padding: 0;
            margin: 0;
        h1, h2, h3, h4, h5, h6, p {
            margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
            padding-right: 15px;
            padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
        a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
            border: none;
        /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
        a:link {
            color: #666;
            text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
        a:visited {
            color: #000;
            text-decoration: underline;
        a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
            text-decoration: none;
        /* ~~ this fixed width container surrounds all other elements ~~ */
        .container {
            width: 950px;
            background: #FFF; /* the auto value on the sides, coupled with the width, centers the layout */
            margin-top: 0;
            margin-right: auto;
            margin-bottom: 0;
            margin-left: auto;
        /* ~~ This is the layout information. ~~
        1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
        .content {
            background-color: #FFF;
            text-align: center;
            padding-top: 20px;
            padding-right: 0;
            padding-bottom: 10px;
            padding-left: 0;
            margin-top: 20px;
            margin-right: 0px;
            margin-bottom: 0px;
            margin-left: 0px;
            overflow: hidden;
        /* ~~ miscellaneous float/clear classes ~~ */
        .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
            float: right;
            margin-left: 8px;
        .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
            float: left;
            margin-right: 8px;
        .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the overflow:hidden on the .container is removed */
            clear:both;
            height:0;
            font-size: 1px;
            line-height: 0px;
  </style>
  <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <div class="container">
    <div class="content">
      <h1><img src="images/nicola neo.gif" alt="nicola_neo_logo"></h1>
      <p><img src="images/ART DIRECTION &amp; GRAPHIC DESIGN.gif" alt="art director &amp; design"></p>
      <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="01_home.html">HOME</a></li>
        <li><a href="02_About.html">ABOUT</a></li>
        <li><a class="MenuBarItemSubmenu" href="../03_WORK/catwalk01.html">WORK</a>
          <ul>
            <li><a href="#">Personal</a></li>
            <li><a href="#">Asos.com</a></li>
            <li><a href="#">Harper's Bazaar</a></li>
            <li><a href="#">Wallpaper*</a></li>
          </ul>
        </li>
        <li><a href="../04_Contact.html">CONTACT</a></li>
      </ul>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
    <!-- end .content --></div>
  <!-- end .container --></div>
  <script src="SpryAssets/SpryEffects.js"></script>
  <script src="SpryAssets/SpryMenuBar.js"></script>
  <script>
        function MM_effectAppearFade(targetElement, duration, from, to, toggle) {
            Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
        function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle) {
            Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
        function MM_popupMsg(msg) { //v1.0
            alert(msg);
        var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
  </script>
</body>
</html>
To center the menubar have a look here http://labs.adobe.com/technologies/spry/samples/menubar/CenteringHorizontalMenuBarSample.h tml
Gramps

Similar Messages

  • Error message when compiling book "file is corrupt" referring to a photo.  Or "cannot find original photo".  Can you use photos that have been "edited" out of "Book Mode"?

    Error message when compiling book "file is corrupt" referring to a photo.  Or "cannot find original photo".  Can you use photos that have been "edited" out of "Book Mode"?

    I did copy it to my desktop, but it still won't let me open it.  I think the file on the disc might be corrupt or something like that though the cd itself checks out fine as far as viruses go.  I was able to verify the disc, but that's about it.  My husband tried it on his iMac and we have the same issue.  It's unzipping the folder, but won't let us open the folder on both the Mac Book Pro or the iMac by double clicking, going to file/open or right clicking.  It just keeps saying the same message as I posted above.  I think I'm just going to have the client put the pictures on either a memory card or a USB memory stick so she won't have to compress the files for zipping purposes.  It's been too frustrating trying to open this folder on this cd she gave me.  She said she created/zipped the cd on her Mac Book Pro but it sure won't open on mine.

  • Looking for some help with an error message when exporting master file. I'm stuck and would even pay to get this sorted out!

    Hey guys, I'm really in a bind here and need some urgent help tonite. I would even be willing to pay for some actual help and not some vague information that i may not be able to understand if we could do something via skype or some other way that would be much quicker than a message board. Of course I have to have the project done by tomorow . so I'm new to fcpx, but have succesfully exported 2 other projects. I've also ran into this predicament before (error message not allowing me complete export) and have been able to solve that by converting the files i imported off my camera (canon g20) to a different file type (prores).
    so where I'm at now: i have a 13 min short, all shot on my canon g20, imported and converted to prores422 with the brorsoft video converter with all the shots in a single event in fcpx. i'm using fcpx version 10.0.08. I have one main video track in my timeline that is completely full of very fast edits. (all quick 2-5 second clips, sped up shots in 2x, 4x, or 8x, tons of transitions, titles, and a little fx. theres 2 audio tracks, one is narration/speech and the other is an ongoing music track that constantly ducks everytime the subject speaks (tons of ducks/edits). Have you seen mtv cribs? Well i filmed an EXACT replica. So If you've seen one of those episodes, its literally the same exact same thing. I have all of my work completed, everything has been fully rendered, and i have it exactly as I want it.
    I'm including all this information in case it may help. my successful projects ive exported in the past were rather simple, and this one is very complex and full of edits. here is what it looks like in the timeline:
    Ive tried exporting the master file using almost all the different ways with no luck. My primary objective is to get it on youtube by any means by tommorow for a showing to a potential buyer (long story) and so I've been told using the h.264 is the best format for that. This, along with the other methods give me the same error message:
    It think it gives this error message when i reach 24% everytime during export.
    So first of all, what is that error message? Do i need to be concerned about the specifics of it, or is there something major that I'm missing? Like i said, i dont care how, but I need to get this video up on youtube tonite for an important viewing tomorrow. Conceptually, I think if i can figure this one out I shouldnt have any more trouble in the future doing something so basic, yet critical, such as exporting my 40+ hours of work for someone to see.
    anyway, I apologize in advance for my lack of knowledge with this software, and for my extremely long winded question which will probably have the opposite effect for me as most wont want to take the time to read all this, BUT i figured if i was as thorough as possible it might help actually getting a concrete answer, instead of a "read the manual, exporting is on page 37." or "use the share button on the right of the timeline then just click export master file and it will work everytime."
    Cheers everybody, and thank you. Like i said if someone is up, and willing to talk via skype, phone, messanger or any other method that works for you I would be totally down and will compensate you generously for your time. thanks again.
    Taphabit

    boom! that advice was correct and worked. i was able to export the full project as a quicktime movie and it can be uploaded to youtube.
    NOTE, theres is definately quite a few noticeable audio glitches/lags/pops that werent there before doing this. I believe, and will test to make sure, that having a project such as this one needs to render before exporting. I'm not sure if the advice requires the project to be unrendered before exporting for a specific reason, because if it will export fine after rendering the project that's the way to go. like i said the edited version i have in my timeline plays back perfectly but this exported version has quite a few noticeable audio glitches (a few video glitches too). I'm going to retry doing the first few steps of your advice, but then at the end render, then export and compare the results...
    OK, so this leads to a big question, Is this something that is standard for everyone when trying to export? If its not, what causes this error?
    is there any way of preemptively avoiding it in future projects?
    thanks again, and hopefully this information will help others as exporting seem to be one of the biggest problems in fcpx. any word on a new patch or firmware update?

  • Error message when opening CS6 files in earlier versions

    PSCS6 with 12.0.4 update.  Mac OSX 10.8.2   16GB 1333 Mhz DDR3  543 GB Available
    I've recently become aware that other people are getting an error message when opening many of my my psd files if they are on earlier versions of PS and also on PSE, (including the latest version).  The message is:
    This document contains unknown data which will be discarded to keep layers editable.  To preserve the original appearance instead, choose flatten to load composite data as a flattened image. 
    Three options follow:  Flatten  Cancel  Keep Layers
    When 'keep layers' is selected the file opens as normal.  However, people with much earlier version (CS version 8) don't get the option to keep layers, and the layers are flattened when the document is opened.
    I still have CS5 on my mac, and I find that if I take my finished file into CS5 and save it there, the customer does not get the message above, and the file behaves as it should.  Those on very early version of PS can also open the files without any issues. 
    I've been using CS6 since it was released and have had to delve through all my files and save them in CS5.  Not every file is affected and I've been unable to find a common thread.
    Hoping someone can throw some light on this.

    This similar to the message one should get in an older version of photoshop such as photoshop 7.
    If one presses ok instead of read composite that might preserve the layers with the original look.
    But sometimes if a layer blending mode or some other feature is used an earlier versions of photoshop doesn't have, reading the composite is the only way to preserve the look of the image.
    You said your using shape layers?
    If they are shape layers you didn't use a stroke from the tool options bar?
    Can you post an example of the image with the layers panel visible that you get that message with?
    I guess your using photoshop cs6 with the 13.01 update?

  • Error message when saving .fm file

    I just upgraded my FrameMaker program to 7.2.
    When I try to save my work, the following message appears on-screen:
    An internal error occurred while writing imported graphics in this document.  The file has been saved, but has lost some image data.  Please report this error to Adobe Technical Support.
    My file has NOT been saved, none of the changes I've made have been saved.  I cannot save this file under a different name, either.  And the automated files that are generated by the program as &quot;back-up&quot; files are useless.
    HELP!!!

    Upgraded to 7.2..... Good that you didn't rush into it. ;-  )
    Anyway, that's the standard error message when a file contains objects imported using an OLE link AND you are running XP SP3.
    SP3 implemented security fixes that essentially broke OLE within Frame (and a number of other applications).
    So if your document(s) contain OLE links, you're likely to have to convert them to imported-by-reference graphics if they're graphic files or do some other type of conversion if they're tables or PPT slides.
    Art

  • "Macros in this project are disabled..." error message when creating PDF files

    The following error occurs when creating a PDF file using a document that was created from a MS Word 2007 templates.
    "Macros in this project are disabled..."
    The security settings are set appropriately - it's not that. I have done everything I can think of including asking Microsoft; they say it's not them. It may not be, but I do not know how to get around it. It did not happen before upgrading my templates to the Office 2007 format.
    Has this happened to anyone else? There is no coding within th etemplates regartding PDFs. We are using Adobe Professional X.  The error only occurs when we use Adobe Pro X.
    One thing I just noticed, our templates get the following message when we go to save as a PDF using Adobe:
    Acrobat PDFMAker needs to save the file before continuing. Do you want PDFMaker to save the file and continue?

    Does it work the first time after you delete your Normal.dotm file? You may be running into the same issue that is detailed in this post Unable to open document. Please check to see if you have read permission for the above file.

  • Error message when saving a file in DW -CS6

    When I go to save a file in Dreamweaver CS6, using Windows 7 -
    I get this error message.
    "While Executing onLoad in bc_afterSave.htm, the follwing javascript errors occured"
    In File "bc_aftersave.htm";
    onload is not defined
    Everything was fine for years now I get this annoying error message. The file saves but the error message always pops up.
    I am using the Adobe Application Manager and getting my software through the Adobe Cloud.
    I tried deleting the configuration file with th expectation that DW would automatically create a new one but that did not work.
    I'd hate to have to unintsall and reinstall DW because I have dozens of sites that I would need to resetup
    Any help on this??

    bc_aftersave.htm is a file that lies within Dreamweaver's Configuration Commands. Usually is required when working with Business Catalyst.
    The error you see may be caused due to a faulty file.
    I'm attaching the file at fault - 'bc_aftersave.htm' in this thread. Download and restore it to the following folder:
    C:\Users\<username>\AppData\Roaming\Adobe\Dreamweaver CS6\<language>\Configuration\Commands
    Locate the file bc_aftersave.htm, replace that file with the one I'm attaching here to see if it solves the issue.
    -ST

  • Error message when downloading a file in Firefox 3.0.1

    Hello everyone, hope you can help. I'm thinking maybe this is a permissions issue?
    When I try to download a file in Firefox 3 I get the following error message:
    "/Users/xxxx/Desktop/iPhoto_714.dmg could not be opened, because an unknown error occurred.
    Try saving to disk first and then opening the file."
    Any ideas? Thanks for your help.
    Bruce

    I wonder if my question somewhat relates to the others here... I recently upgraded from Office 2004 to Office 2007. When i removed 2004, Firefox was still associating any .doc or .docx file with 2004. So, i get the following message when i try to download files:
    document.docx could not be opened, because the associated helper application does not exist. Change the association in your preferences.
    Same thing with Adobe Acrobat - it's opening version 8, which i don't have a license for and i want it to open with version 7.
    I've tried several things, but have not come up with a solution. Can anyone help?

  • Error Message when copying music files to Nano

    When copying an album to the Nano, I receive and error message with 4 songs left to copy off of the album. Error states: Attempting to copy to the disk "IPOD" failed. The disk could not be read from or written to. With 4 songs left to copy
    I have only used approx. 344.8 MB of memory. I tried resetting the Nano and then also deleting album and recopying and the same files back. Nothing seems to work, please help!

    If you want to use large files you have to reformat it. It will erase any data that is on the drive, If the drive will be used only with OSX, format it as Mac Extended (HFS+) Journaled with the GUID partition table.
    Start Disk Utility (Utilities Folder). Select the drive in the left column (be sure to select the drive, all the way at the left, not the volume indented below it). Select the "Partition" tab. Set "Volume Scheme" to "1 Partition". Click the "Options" button. Select "GUID Partition Table". Click the "OK" button. Enter the volume name and click the "Apply" button.

  • Error message when importing motion files into FCP

    In FCP.
    I choose a clip/clips in my sequence. Then choose send to motion project and follow the directions from the training dvd.
    By unchecking (embed "motion" content) then save the file with a different name. Then continue with making my graphics over the video clip/clips.
    When I am done I then shut off the video layer of the clip in the motion timeline. Then I save the project. Then close Motion and try to import the motion project in FCP.
    When I try to import, I get an error message stating "File Error: 1 files(s) recognized, 0 access denied, 1 unknown."
    I go back to the training file to try the same procedure and it works fine.
    Go back to my own project and it doesn't work.
    Any ideas? Anyone?
    I have a Mac Pro 2.66GHz / 5 gigs of ram / 512 vram ATI graphics card
    Also working with universal software for FCP studio.
    Intel 2.66GHz Mac OS X (10.4.9)
    Intel 2.66GHz   Mac OS X (10.4.9)  

    OK???
    Don't know what the deal is. But I made a new sequence in my project and copied my other sequence with in the new one and then tried to do the whole clip step for step process of send to motion and importing back in and it worked!!!!
    I check all the listed settings of my sequence in my browser window and both the old sequence and new sequence are the same.
    I am happy that I can move on with my work, yet I am frustrated with the fact that I am not sure exactly what the problem is.
    Thank You Again!

  • HELP - illustrator cs5 error message when opening cs3 files

    Has anyone else had this issue? Do you know how to fix it.
    I just bought and downloaded cs5. When opening Illustrator cs3 files I get an error message: "Can't finish previewing. Could not complete the requested operation."
    Then it opens the file but I it is only line work (no fills, gradients, etc) and I can not do anything in the file. If I click an object the error message pops up again.
    This is what it looks like in cs3.
    This is how it displays in cs5
    I cant find anything online about this issue. Also this occurs on all of my illustrator files, not just one.
    any advice?
    thanks

    davidmacy wrote:
    I think your current system should be fine for running Illustrator CS5. Please let us know if the original problem happens for you again.
    I think your system is also fine for running Adobe Illustrator CS 5 but of course you are running the system as well and a browser and e-mail client…and perhaps Adobe Photoshop or Adobe InDesign or Microsoft Word in which case I think there might be on occasion an out of memory issue and with a complex file you will lose your preview.
    I have lost my preview as well on certain files and found that it usually is because I had trashed the preferences and forgot to set the scratch to a different disk other than the startup disk.
    I have 16 GB of RAm and once in a while I still lose the preview.

  • Error message when converting PDF files to Word

    Hi there,
    I keep getting an error message "an unexpected error has occured" when trying to convert PDF files to Word. One document was 4MB and the other 9MB. Both are scanned documents.
    Can someone please help with this?

    Sorry, the graphic didn't upload on the original message.

  • I have always had trouble (including error messages)when opening pdf files from a website within Firefox

    More often than not when I open a pdf file from within Firefox the file fails to open (often you get an error message. "there was an error processing page. A file I/O error has ocurred"). Sometimes the file downloads but is only white pages. I usually then right click the file and save it to my desktop but this is cumbersom!

    Ok two things based on the crash report and the steps you took right before the crash:
    # Try to disable scrolling acceleration and restart Firefox. Does it continue to crash?
    # Try Safe Mode and do the same task as above with email and the pdf [[Troubleshoot Firefox issues using Safe Mode]]
    # Also pdf.js may be helpful to read pdfs in the meantime. You can change the default reader in the Preferences/Options > Application menu of Firefox.
    # Try to clear out the downloads folder and update flash to version 14 (that should do it)
    IF it crashes again please also provide the new crash signatures and we can take a look :-) Sorry for the crashing :-(

  • Error message when inserting .FLV file

    I have Captivate 6 and have downloaded all updates that appeared when I went to the Help menu > Updates.
    I am going to Video > Insert Video and browse for my .FLV file (this is a Multi-Slide Synchronized Video). I then select "Modify slide duration to accomodate video" and click OK. I am prompted with the following error:  "Video encountered an internal error"
    The .FLV file was downloaded from a Virtual Classroom recording in Adobe Connect and is 49,329 KB.
    Can anyone help me with this?

    Hi Vikram -
    Thank you for your reply.
    I have  version 6.0.1.240
    I receive the same error when I try to insert the video as an Event Video
    The error happens in all projects. I have tried several blank projects, and a few existing to test it out.
    Below is a screenshot of the options I select when inserting a video, along with a screenshot of the error message I receive after clicking OK.

  • Error message when viewing CHM file

    after successfully creating the .chm file. when I go to view it, I get an error message in the view window stating "Navigation to the webpage was canceled" My contents show on the left side of the window.

    Hi there
    It would appear you are trying to furnish an image and you are trying that by replying via email with the image either embedded or as an attachment.
    Unfortunately those don't survive the trip into the forum post. If you have an image to show, please visit the forum web page where you started this thread and use the camera icon to insert the image.
    Cheers... Rick

Maybe you are looking for