本文介绍了无法保存对master.dwt的更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将更改保存到master.dwt时,我收到错误消息"动态Web模板"文件:// ***** / master.dwt '
无法 附加,因为它不包含任何可编辑区域"。  master.dwt的代码如下:

When I try to save changes to the master.dwt I get the error message "The Dynamic Web Template 'file://*****/master.dwt'cannot be attached because it contains no editable regions".  Code for the master.dwt is as follows:

<!DOCTYPE html PUBLIC" - // W3C // DTD XHTML 1.0 Transitional // EN" "">

< html dir =" ltr" xmlns =" ">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">

< head>

< meta content =" text / html;字符集= UTF-8英寸HTTP的当量= QUOT;内容类型" />
$
<! - #BeginEditable" doctitle" - >
$
< title>< / title>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<!-- #BeginEditable "doctitle" -->
<title></title>

<! - #EndEditable - >

< link href =" styles / style1.css"媒体= QUOT;屏幕"的rel ="样式表"标题= QUOT; CSS"类型= QUOT;文本/ CSS" />
$
< style type =" text / css">

.style1 {

  color:#0000FF;

}

.style2 {

 颜色:#808080;

}

.style3 {

  font-size:medium;

}

.style4 {

  ; font-family:" Trebuchet MS" ;;
}

< / style>

< / head>

<!-- #EndEditable -->
<link href="styles/style1.css" media="screen" rel="stylesheet" title="CSS" type="text/css" />
<style type="text/css">
.style1 {
 color: #0000FF;
}
.style2 {
 color: #808080;
}
.style3 {
 font-size: medium;
}
.style4 {
 font-family: "Trebuchet MS";
}
</style>
</head>

< body style =" background-image:url('images / palebluebkgrnd.jpg')">

<body style="background-image: url('images/palebluebkgrnd.jpg')">

<! - Begin Container - >
$
< div id =" container" style =" width:776px">

 <! - 开始标头广告 - >

 < div id =" masthead" style =" width:773px">

  < h1>

  < img alt =""高度= QUOT; 94" SRC ="图像/ logo.jpg" style =" float:right"宽度= QUOT; 150" />< / h1>

  < h1>< span class =" style1">民主妇女&俱乐部< / span>& nbsp ;&安培; NBSP;&安培; NBSP;&安培; NBSP;&安培; NBSP;&安培; NBSP;&安培; NBSP;&安培; NBSP;&安培; NBSP;&安培; NBSP; < / h1>

  < h3 class =" style2">& nbsp;< / h3>

 < / div>

 <! - 结束标头广告 - >

 <! - 开始iMenu - >

 < div id =" navigation">

  < ul class =" style3">

    < li>< a href =" default.html"> Home< / a>< / li>

   < li>< a href =" about_us / about_us.htm">关于我们< / a>< / li>

   < li style =" width:72px"> < a href =" join / join.html">加入我们< / a>< / li>

   < li>< a href =" ; calendar / calendar.htm">活动日历< / a>< / li>

   < li>< a href =" photo_gallery / photo_gallery。 htm">照片库< / a>< / li>

   < li>< a href =" contact / cont act.htm">联系我们< / a>< / li>

   < li>< a href =" links / links.htm">链接< / a>< / li>

  < / ul>

 < / div>

 <! - 结束iMenu - >

 <! - 开始左列 - >

 <! - 结束左列 - >

 <! - 开始右列 - >

 <! - 右上栏 - > ; $
 <! - Begin Footer - >

 < div id =" footer">

  < p>& nbsp;< / p>

  < p>& nbsp;< / p>

  < p>< a href =" default.html"> Home< / a> | < a href =" about_us / about_us.htm">关于


  我们< / a>

   |< a href =" join / join.html">加入我们< / a> < span class =" style4"> |< / span> < a href =" calendar / calendar.htm"> Calendar< / a> |

  < a href =" photo_gallery / photo_gallery.htm">照片库< / a> |

  < a href =" contact / contact.htm">联系我们< / a> | < a href =" links / links.htm">链接< / a>< / p>

 < / div>

  <! - End Footer - >< / div>

<! - End Container - >

<!-- Begin Container -->
<div id="container" style="width: 776px">
 <!-- Begin Masthead -->
 <div id="masthead" style="width: 773px">
  <h1>
  <img alt="" height="94" src="images/logo.jpg" style="float: right" width="150" /></h1>
  <h1><span class="style1">Democratic Women&#39;s Club</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </h1>
  <h3 class="style2">&nbsp;</h3>
 </div>
 <!-- End Masthead -->
 <!-- Begin iMenu -->
 <div id="navigation">
  <ul class="style3">
   <li><a href="default.html">Home</a></li>
   <li><a href="about_us/about_us.htm">About Us</a></li>
   <li style="width: 72px"><a href="join/join.html">Join Us</a></li>
   <li><a href="calendar/calendar.htm">Calendar of Events</a></li>
   <li><a href="photo_gallery/photo_gallery.htm">Photo Gallery</a></li>
   <li><a href="contact/contact.htm">Contact Us</a></li>
   <li><a href="links/links.htm">Links</a></li>
  </ul>
 </div>
 <!-- End iMenu -->
 <!-- Begin Left Column -->
 <!-- End Left Column -->
 <!-- Begin Right Column -->
 <!-- End Right Column -->
 <!-- Begin Footer -->
 <div id="footer">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p><a href="default.html">Home</a> | <a href="about_us/about_us.htm">About
  Us</a>
  |<a href="join/join.html">Join Us</a> <span class="style4">|</span> <a href="calendar/calendar.htm">Calendar</a> |
  <a href="photo_gallery/photo_gallery.htm">Photo Gallery</a> |
  <a href="contact/contact.htm">Contact Us</a> | <a href="links/links.htm">Links</a></p>
 </div>
 <!-- End Footer --></div>
<!-- End Container -->

< / body> ;

</body>

< / html>

</html>

请帮忙....我很难过。

Please help....I am stumped.

推荐答案

标题标签有一个可编辑区域。 ,但是您需要在正文部分中添加一个或多个内容,以便您可以向从母版创建的页面添加内容。

There is one for the title tag, but you need one or more in the body section so you can add content to the pages created from the master.


这篇关于无法保存对master.dwt的更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 14:11