我在网上找到了这个脚本用于我一直在调整的下拉式多级导航栏。现在是时候把我的所有链接排序了。但是,当我尝试添加链接时,我注意到使用了开放和关闭的引号。当我尝试用默认的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>
非常感谢有关此问题的任何帮助!!
答案 0 :(得分:2)
请勿使用”
或“
。只需使用常规报价"
或'
答案 1 :(得分:2)
将”
更正为"
。
从Word文档复制并粘贴?