因此,在我的计算机上使用本地网站时,鼠标悬停在图片上的效果非常完美。但是,当我将该网站放在服务器上时,图像不会出现。将鼠标悬停在图片上不会在网站生效时出现
我指的是与灰色背景图像的链接。我已经提供了专门用于联系我们链接的CSS。
http://bankruptcyimmigrationlaw.com/NEWSTARTLAW/Home.html
...
#Contact_us li:first-child a {
padding:9px 5px 15px 30px;
margin-top:25px;
background-image:url(../images/DefaultNavBg.png);
background-position:-30px -15px;
background-repeat:no-repeat;
height:76px;
width:350px;
border-bottom:none;
text-decoration:none;
}
#Contact_us li:first-child a:hover {
padding:9px 5px 0px 15px;
margin-top:25px;
background-image:url(../images/CurrentNavBg.png);
background-position:-30px -15px;
background-repeat:no-repeat;
height:76px;
width:350px;
border-bottom:none;
cursor:pointer;
text-decoration:none;
}
我得到404s的'http:// bankruptcyimmigrationlaw.com/NEWSTARTLAW/images/CurrentNavBg.png' – Musa 2012-07-27 19:31:31