--------------------------------------------------------------------------------
Hi
I'm creating my first template using DW MX. When I go to save a change after creating an Editable Region I get this message:
You have placed the editable region h2 inside a <p> tag or other block tag. Users of this template will not be able to create new paragraphs in this region. Move the region outside the <p> tag if you wish to allow this.
Any idea what this means and how I fix it?
Thanks for your help
Here's the code on my page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html>
<!-- DW6 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Resource Advisor</title>
<!-- TemplateEndEditable --><link rel="stylesheet" href="../3col_leftNav.css" type="text/css">
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<div id="masthead">
<h1 id="siteName"><a href="../index.html"><img src="../images/logo2.jpg" alt="Home Page" width="167" height="60" border="0"></a></h1>
<div id="globalNav">
<div align="center"><a href="#">About </a> | <a href="#">global link</a> | <a href="#">global link</a> | <a href="#">global link</a> |
<a href="#">global link</a> | <a href="#">Food </a> | <a href="#">Furniture </a>
</div>
</div>
<h2 id="pageName"><!-- TemplateBeginEditable name="h2" -->h2<!-- TemplateEndEditable --></h2>
</div>
<div id="navBar">
<div id="search">
<form action="#">
<label>search</label>
<input name="searchFor" type="text" size="10">
<input name="goButton" type="submit" value="go">
</form>
</div>
<div id="sectionLinks">
<h3>Section Links</h3>
<ul>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
</ul>
</div>
<div class="relatedLinks">
<h3>Related Link Category</h3>
<ul>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
</ul>
</div>
<div class="relatedLinks">
<h3>Related Link Category</h3>
<ul>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
</ul>
</div>
</div>
<!--end navBar div -->
<div id="headlines">
<h3><!-- TemplateBeginEditable name="Ads" -->Ads<!-- TemplateEndEditable --></h3>
</div>
<!--end headlines -->
<div id="content">
<div class="feature">
<h3><!-- TemplateBeginEditable name="bodytext" -->bodytext<!-- TemplateEndEditable --></h3>
</div>
<div class="story"></div>
</div>
<!--end content -->
<div id="siteInfo"> <a href="#">About Us</a> | <a href="#">Site
Map</a> | <a href="#">Privacy Policy</a> | <a href="#">Contact Us</a> | ©2005 Test </div>
<br>
</body>
</html>
Hi
I'm creating my first template using DW MX. When I go to save a change after creating an Editable Region I get this message:
You have placed the editable region h2 inside a <p> tag or other block tag. Users of this template will not be able to create new paragraphs in this region. Move the region outside the <p> tag if you wish to allow this.
Any idea what this means and how I fix it?
Thanks for your help
Here's the code on my page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<html>
<!-- DW6 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Resource Advisor</title>
<!-- TemplateEndEditable --><link rel="stylesheet" href="../3col_leftNav.css" type="text/css">
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body>
<div id="masthead">
<h1 id="siteName"><a href="../index.html"><img src="../images/logo2.jpg" alt="Home Page" width="167" height="60" border="0"></a></h1>
<div id="globalNav">
<div align="center"><a href="#">About </a> | <a href="#">global link</a> | <a href="#">global link</a> | <a href="#">global link</a> |
<a href="#">global link</a> | <a href="#">Food </a> | <a href="#">Furniture </a>
</div>
</div>
<h2 id="pageName"><!-- TemplateBeginEditable name="h2" -->h2<!-- TemplateEndEditable --></h2>
</div>
<div id="navBar">
<div id="search">
<form action="#">
<label>search</label>
<input name="searchFor" type="text" size="10">
<input name="goButton" type="submit" value="go">
</form>
</div>
<div id="sectionLinks">
<h3>Section Links</h3>
<ul>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
<li><a href="#">Section Link</a></li>
</ul>
</div>
<div class="relatedLinks">
<h3>Related Link Category</h3>
<ul>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
</ul>
</div>
<div class="relatedLinks">
<h3>Related Link Category</h3>
<ul>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
<li><a href="#">Related Link</a></li>
</ul>
</div>
</div>
<!--end navBar div -->
<div id="headlines">
<h3><!-- TemplateBeginEditable name="Ads" -->Ads<!-- TemplateEndEditable --></h3>
</div>
<!--end headlines -->
<div id="content">
<div class="feature">
<h3><!-- TemplateBeginEditable name="bodytext" -->bodytext<!-- TemplateEndEditable --></h3>
</div>
<div class="story"></div>
</div>
<!--end content -->
<div id="siteInfo"> <a href="#">About Us</a> | <a href="#">Site
Map</a> | <a href="#">Privacy Policy</a> | <a href="#">Contact Us</a> | ©2005 Test </div>
<br>
</body>
</html>