0

我有几个使用 Adob​​e Dreamweaver CS5 创建的模板。如果我通过 Dreamweaver 基于这些模板创建页面,它们会完美呈现。它们还在使用 Adob​​e 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;">&nbsp;</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;">&nbsp;</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 的一个已知问题吗?如果是这样,我怎样才能防止它发生?

4

1 回答 1

0

在站点管理对话框中修改您的段落设置。

请参阅“Adobe Contribute 中的段落间距选项”

于 2012-08-30T09:28:42.623 回答