2 개의 소셜 미디어 이미지를 내 바닥 글에 추가하고 있습니다. 그들은 내 이미지 맵에 포함되어 있으며 오른쪽 등이 포함되어 있지만 왜 나타나지 않는지 알 수는 없습니까?이미지가 바닥 글에 표시되지 않습니다
너무 많이 시도했지만 실제로 해결할 수 없습니다. 내 웹 사이트에 고정되어있는 내 바닥 글과 관련이 있습니까? 난 정말 모르겠어요 ..
코드 :
<div id="footer">
<div id="social">
<p>test</p>
<div class="facebook"><a href="" title="Facebook Page"></a></div>
<div class="twitter"><a href="" title="Twitter"></a></div>
</div>
<p>Copyright © 2013 . All rights reserved.</p>
</div>
CSS :
#social {
text-align: center;
}
.facebook a {
height: 33px;
width: 33px;
background-image: url('images/facebook.png');
background-repeat: no-repeat;
}
.facebook a:hover {
background-image: url('images/facebookhover.png');
background-repeat: no-repeat;
}
.twitter a {
height: 33px;
width: 33px;
background-image: url('images/twitter.png');
background-repeat: no-repeat;
}
.twitter a:hover {
background-image: url('images/twitterhover.png');
background-repeat: no-repeat;
}
/* Footer */
#footer {
padding: 5px;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
margin: 0;
background: #333;
color: #FFF;
}
#footer p {
text-align: center;
margin: 0;
}
#footer a {
color: #fff;
}
여기 jsfiddle에 대한 예제가있다 : 당신의 url
경로 http://jsfiddle.net/mwx5q/
2 일 : 1 : 그들은 자신의 서버에 존재하지 않는 한 당신이 JSFiddle의 리소스에 대한 상대 링크를 사용할 수 없습니다. 2 : 치수를 설정하려면'a''''d'' : block'을 만들어야합니다. – RobH