【发布时间】:2010-11-09 17:14:26
【问题描述】:
我有几个使用 Adobe Dreamweaver CS5 创建的模板。如果我通过 Dreamweaver 基于这些模板创建页面,它们会完美呈现。它们还在使用 Adobe Contribute CS4 创建的页面中完美呈现。
但是,我的用户已经升级到 Contribute CS5,奇怪的是,Contribute 在页面的不可编辑部分向呈现的页面添加标签。
例如,模板中的代码如下:
<div id="nav-wrapper">
<ul id="topnav">
<li>
<a href="/index.html" class="nav_home"></a>
</li>
<li>
<a href="../about/index.html" class="nav_about">About us</a>
<div class="sub">
<ul>
<li><a href="../about/team.html">Team</a></li>
<li><a href="../about/invest.html">Investors</a></li>
...etc
在 Dreamweaver 中用于创建页面时呈现完全相同,但 Contribute CS5 将其更改为:
<p style="margin-top: 0; margin-bottom: 0;"> </p>
<div id="nav-wrapper">
<ul id="topnav" style="margin-bottom: 0">
<li>
<a href="/index.html" class="nav_home"></a>
</li>
<li>
<a href="../../about/index.html" class="nav_about">About us</a>
<p style="margin-top: 0; margin-bottom: 0;"> </p>
<div class="sub">
<ul style="margin-bottom: 0">
<li><a href="../../about/team.html">Team</a></li>
<li><a href="../../about/invest.html">Investors</a></li>
注意添加了两个 <p style="margin-top: 0; margin-bottom: 0;">&nbsp;</p> 标记,以及将 style="margin-bottom: 0" 添加到 <ul> 标记。
这是 Contribute 的一个已知问题吗?如果是这样,我该如何防止它发生?
【问题讨论】:
-
他们应该将其重新命名为
Adobe CodeMangler。
标签: html tags flash-cs5 adobe-contribute