页面兼容难题,求高手帮忙解决_html/css_WEB-ITnose

WBOY
풀어 주다: 2016-06-24 12:14:19
원래의
795명이 탐색했습니다.

<style type="text/css">#left-content{    float:left;    border:solid 1px #E6E6E6;    padding: 10px 10px;    width:109px;    border-right:1px solid #f0f5ff;}#left-content ul li a.selected{background:url(images/7.png) 0 0 no-repeat; color: #000;}#left-content ul li a.selected:hover { color: #F00; }#left-content ul { list-style: none; margin: 0px; }#left-content ul li { padding: 0px; height: 29px; line-height: 29px; position:relative; }#left-content ul li a{ display:block; width:89px; height:29px; line-height:29px; background:url(images/6.png) 0 0 no-repeat; color: #FFF; text-align:center; text-decoration: none; }#left-content ul li a:hover { color: #F00; }#left-content ul li ul { display:none; position: absolute; left: 90px; top: 0px; width:89px; border-bottom:none; }#left-content ul li.current ul { display:block;}#left-content ul li:hover ul { display:block;}#left-content ul li ul li a{ display:block; width:89px; height:29px; line-height:29px; background:url(images/8.png) 0 0 no-repeat; color: #000; text-align:center; text-decoration: none; }#left-content ul li ul li a:hover { color: #F00; }</style><body><div id="left-content">        <ul>            <li><a href="#">快运单打印</a>                <ul>                    <li><a href="tb/main.jsp?shop=0">泉汇来</a></li>                    <li><a href="tb/main.jsp?shop=1">美的小家电</a></li>                </ul>            </li>            <li><a class="selected" href="index.jsp">淘宝订单拣货</a></li>            <li><a href="#">淘宝订单发货</a>                <ul>                    <li><a href="tb/send.jsp?shop=0">泉汇来</a></li>                    <li><a href="tb/send.jsp?shop=1">美的小家电</a></li>                </ul>            </li>            <li><a href="javascript:newWindow('search.jsp')">销售商品统计</a></li>        </ul>    </div></body>
로그인 후 복사


回复讨论(解决方案)

这段代码在IE6中执行会出问题,页面长度超出1屏,滚动页面时就出bug,应该是对齐写的问题,但是自己改不明白了,求个高手帮忙

원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!