2

我的网站上有这个 LinkedIn 徽标。它在本地测试时工作得非常好,但它不会在线显示。现在我做错了什么?

如您所见 - 它应该位于其他之间的底部:
数字好东西


这是页脚的 HTML

        <div class="footer">
            <div class="footertext">Want to get in touch?</div>
            <div id="pinterestlogo"><a href="http://pinterest.com/nickthepinrod" target="_blank"><span></span></a></div>
            <div id="linkedinlogo"><a href="http://linkedin.com/profile/view?id=197241309" target="_blank"><span></span></a></div>
            <div id="twitterlogo"><a href="http://twitter.com/followthenimrod" target="_blank"><span></span></a></div>
        </div>

这是CSS

#linkedinlogo
{
    width: 30px;
    height: 30px;
    background-image: url('Images/LinkedInLogo.png');
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: right;
}

#linkedinlogo a span
{
    position: absolute;
    width: 30px;
    height: 30px;
}
4

2 回答 2

5

事实证明,你Images/LinkedInLogo.png的实际上是Images/LinkedinLogo.png. 只需将它换成小写的“i”,一切都会好起来的。

为了确认起见,这是一个链接。

于 2012-10-16T08:02:22.937 回答
0

请检查徽标的文件名和位置。您还可以在您的 html 中添加标签并将其设置为 CSS 样式。

如果您需要新徽标,请访问http://press.linkedin.com/logo-images 。

于 2012-10-16T09:50:28.310 回答