gpt4 book ai didi

html - 导航与 IE 8 不兼容

转载 作者:行者123 更新时间:2023-11-28 17:52:33 25 4
gpt4 key购买 nike

我不知道为什么这在 ie8 上不能正常工作。

enter image description here

<div id="bluemenu" class="bluetabs">
<ul>
<li class="">
<a rel="dropmenu3_c" href="company/">Company
<span><img width="11"height="7" src="images/arrow_btn.png"></span>
</a>
</li>
</ul>
</div>

这是导航 ul 的 css

.bluetabs ul {
color: #FFFFFF;
float: right;
font: 13px 'Open Sans','Lucida Grande',Arial,"Verdana sans-serif";
list-style-type: none;
margin: 0;
padding: 0;
text-align: left;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
text-transform: uppercase;
}

这是导航栏的css

.bluetabs li {
display: inline;
float: left;
height: 36px;
margin: 0;
padding: 0;
}

这是导航栏的css

.bluetabs li a {
background: url("../images/menu_nav_hover_bg.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
color: #FFFFFF;
margin: 0;
padding: 5px 15px;
text-decoration: none;
}

我可以在 IE 8 上使用任何 CSS hack 吗?

最佳答案

我可以在本地重现此内容,但不能完全重现。要在黑暗中拍摄...

尝试:

.bluetabs li a {
background: #ccc;
color: #FFFFFF;
margin: 0;
padding: 5px 15px;
text-decoration: none;
display: inline-block; /* Add this */
}

/* Add this */
.bluetabs li a > span {
display: inline-block;
}

关于html - 导航与 IE 8 不兼容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22004436/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com