SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    dublin
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error Message - what does it mean?

    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"
    "http://www.w3.org/TR/html4/loose.dtd">
    <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> | &copy;2005 Test </div>
    <br>
    </body>
    </html>

  2. #2
    SitePoint Enthusiast Wolfy_Websites's Avatar
    Join Date
    Jan 2005
    Location
    My Computer
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <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">
    Try changing that section to this...:

    <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>
    </div>
    <h2 id="pageName"><!-- TemplateBeginEditable name="h2" -->h2<!-- TemplateEndEditable --></h2>
    <div id="navBar">
    <div id="search">
    What?
    Typo's aren't illegal you know...

    I be lonely..add me to your msn contacts!

  3. #3
    SitePoint Enthusiast Wolfy_Websites's Avatar
    Join Date
    Jan 2005
    Location
    My Computer
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    works for me anyway...
    What?
    Typo's aren't illegal you know...

    I be lonely..add me to your msn contacts!


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
  •