AdobeDreamweaverCS5で作成されたテンプレートがいくつかあります。Dreamweaverを使用してこれらのテンプレートに基づいてページを作成すると、完全にレンダリングされます。また、AdobeContributeCS4を使用して作成されたページでも完全にレンダリングされます。
しかし、私のユーザーは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でページを作成するために使用した場合とまったく同じようにレンダリングされますが、ContributeCS5によって次のように変更されます。
<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;"> </p>
2つのタグの追加とstyle="margin-bottom: 0"
、タグへの追加に注意してください<ul>
。
これはContributeの既知の問題ですか?もしそうなら、どうすればそれが起こらないようにすることができますか?