Results 1 to 6 of 6

Thread: puzzleing error message

  1. #1
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default puzzleing error message

    Hi,
    I am trying to save a page from a template (using Dreamweaver) and get an error message saying "there is an error at line 24, column 68 (absolute position 1162). Dublicate editable regions of name "document head"."

    I can make out lines in the code, guess they are the running numbers at the left, but where is column 68? How can I find this error?

    I am most grateful for any tips, thanks.

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

  3. #3
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello, here is the code that keeps akting up. Because I have two "head sections? I am not too sure why they are there. It seems the problem is the second </head> but I cannot remove that, can I?
    Thank you for your help!

    (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>Untitled Document</title>
    <link href="twoColFixLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    </head>
    <head>
    <link href="format.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>

    <body class="twoColFixLtHdr">

    <div id="container">
    <div id="header">

    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="#">Startseite</a></li>
    <li><a href="#">Grafik</a></li>
    <li><a class="MenuBarItemSubmenu" href="#">Karten</a>

    ....

    (/code)

  4. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    can only be one head per document

    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="twoColFixLtHdr.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    </head><-------------DELETE THIS
    <head><-------------AND THIS
    <link href="format.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>

  5. #5
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default more head tags

    more snipplets of my code...
    It seems that whenever I put something on the page (navi bar or a gallery...) it has a head section to it and so there are now several. The code below is the start of the gallery section, way down in the main content area and it used to have head tags too. I removed them. Is there anything I should wrap around the <link rel....href...> stuff or can it just sit there? Should I move it up to the head section of the whole document?
    Thank you so much for your help.

    (code)
    <!-- end #sidebar1 --></div>
    <div class="gallery" id="mainContent">
    <link rel="stylesheet" type="text/css" media="all" href="gallery.css" />
    <div class="maincontenttext"><link href="twoColFixLtHdr.css" type="text/css" />
    <h1>Karten </h1>
    <p>Klappkarten auf FSC zertifiziertem Papier mit passendem Umschlag € 2 <br />
    Poskarten, Schwarzweiss oder bunt € 1,50 <br />
    </p>
    </div>
    <div class="gallerycontainer">

    ...
    (code)

  6. #6
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Do you have a link or can you put all of the code up? Are these error messages coming from validator or browser?

Bookmarks

Posting Permissions

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