tur*_*zky 5 css background-image background-position internet-explorer-6
我申请stackoverflow作为我的最后手段.我在链接的背景使用图像时得到了这个ie6错误.似乎ie6滚动背景.我怎么能避免呢?
在某个宽度,它显示如下:
alt text http://img135.imageshack.us/img135/8849/badie1.png
在其他一些它显示如下:
alt文本http://img522.imageshack.us/img522/8180/badie2.png
IE7和FF就像我期望的那样显示:
alt文本http://img142.imageshack.us/img142/2296/goodie.png
链接放在div中,它向右浮动.
<a href="/tr" class="menuLink" style="background-image:url(/img/tr.png);">TR</a>
<a href="/eng" class="menuLink" style="background-image:url(/img/eng.png); margin-right:30px;">ENG</a>
<a href="/logout" class="menuLink" style="background-image:url(/img/logout.png);"><?=$ui["exit"];?></a>
.menuLink {
font-family:"Tahoma";
font-size:11px;
color:#003300;
text-decoration:underline;
font-weight: bold;
background-position:0% 50%;
background-repeat:no-repeat;
}
.menuLink:hover {
font-size:11px;
color:#047307;
text-decoration:underline;
font-weight: bold;
}
Run Code Online (Sandbox Code Playgroud)
任何提示如何避免这种情况?