html卷曲引号破坏脚本

时间:2014-04-15 14:00:05

标签: html quote

我在网上找到了这个脚本用于我一直在调整的下拉式多级导航栏。现在是时候把我的所有链接排序了。但是,当我尝试添加链接时,我注意到使用了开放和关闭的引号。当我尝试用默认的stright替换它们时,我的css从链接中消失了。 这不是我以前遇到的事情。而且我已经尝试过搜索,但我回来的是关于卷曲与直引号的大量信息。

    <body>
<div class="container" style="width: 80%; height: 163px">
<div class="bubble" style="left: 6px; top: -31px; width: 1013px; height: 800px; background-image: url('../../images/FreeVector-Striped-Waves1%20copy-1%20(Copy).jpg'); background-repeat: no-repeat"> 
<div class="content">
<div class ="nav_image">
    <img src="../../navbar/backbar.gif" height="114"/><br />
            <nav>
                    <ul style="left: 243px; top: -2px; width: 658px; height: 0px">
                    <li class='active'><a href=”../../homepage.htm“>Home</a></li>
                    <li class='has-sub'><a href=”#“>Cottages</a>
                    <ul>
                        <li class="has-sub"><a href="cottages/farmhouse/farmhouse.htm">Farmhouse</a>
                        <ul>
                            <li><a href="/cottages/farmhouse/facilities.htm">Facilities</a></li>
                            <li><a href="/cottages/farmhouse/guestbook.htm">Guest Book</a></li>
                            <li><a href="/cottages/farmhouse/booking rates.htm">Booking Rates</a></li>
                        </ul>
                        </li>
                        <li class="has-sub"><a href="cottages/granary/granary.htm">Granary</a>
                        <ul>
                            <li><a href="cottages/granary/facilities.htm">Facilities</a></li>
                            <li><a href="cottages/granary/guest book.htm">Guest Book</a></li>
                            <li><a href="cottages/granary/booking rates.htm">Booking Rates</a></li>
                        </ul>
                        </li>
                        <li class="has-sub"><a href="cottages/the barn/the barn.htm">The Barn</a>
                        <ul>
                            <li><a href="cottages/the barn/facilities.htm">Facilities</a></li>
                            <li><a href="cottages/the barn/guest book.htm">Guest Book</a></li>
                            <li><a href="cottages/the barn/guest book.htm">Booking Rates</a></li>
                        </ul>
                        </li>
                    </ul>
                    </li>

<li><a href=”../croyde.htm“>Croyde</a></li>
<li><a href=”../contactus.htm“>Contact us</a></li>

</ul>

</nav>  

非常感谢有关此问题的任何帮助!!

2 个答案:

答案 0 :(得分:2)

请勿使用。只需使用常规报价"'

即可

答案 1 :(得分:2)

更正为"。 从Word文档复制并粘贴?