html弯引号打破脚本 [英] html curly quotation marks breaking script

查看:64
本文介绍了html弯引号打破脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网上找到了这个脚本,用于我一直在适应的下拉式多级导航栏.现在该是整理所有链接的时候了.但是,当我尝试添加链接时,我注意到使用了打开和关闭引号.当我尝试用默认的stright替换它们时,我的css从链接中消失了.这不是我以前遇到过的东西.我曾尝试搜索,但我回来的只是关于大量使用引号和直接引号的信息.

I found this script online for a dropdown multi level navbar which I have been adapting. It has now come time to sort all my links out. However when I try to add my links, I noticed the use of open and close quote marks. When I try and replace them with the default stright one, my css dissapears from the link. This isn't something I have ever come across before. And I have tried searching but all I come back with is a lot of info on curly vs straight quotation marks.

    <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>  

在此问题上的任何帮助将不胜感激!

Any help on this issue would be greatly appreciated!!

推荐答案

" 纠正为" .从Word文档复制并粘贴?

Correct the " to ". Copy and paste from Word document?

这篇关于html弯引号打破脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆