View Full Version : puzzleing error message
freya
03-23-2009, 04:12 PM
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.
Snookerman
03-23-2009, 04:32 PM
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.
freya
03-24-2009, 10:41 AM
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)
bluewalrus
03-24-2009, 12:38 PM
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>
freya
03-24-2009, 01:47 PM
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)
bluewalrus
03-24-2009, 10:22 PM
Do you have a link or can you put all of the code up? Are these error messages coming from validator or browser?
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.