콘텐츠가 일부 다른 콘텐츠와 겹치고 있습니다. 다음은 HTML과 CSS는 다음과 같습니다콘텐츠 겹침
HTML :
<div class="image_block">
<a href="#"><img src="src.png" alt="July 4th" usemap="#Map" border="0" /></a>
<map name="Map" id="Map">
<area class="declaration " shape="poly" coords="109,255" href="#" />
<area class="constitution" shape="poly" coords="145,253" href="#" />
</map>
</div>
<p style="clear:both;"> </p>
<!-- This content is coming over the image -->
<p><a href="/home"><img class="center" style="width:185px;" src="src.png" />
</a></p>
<p> </p>
<div id="copyright"><p>Copyright © 2012</p></div>
CSS :
.image_block {
width: 710px;
height: 500px;
}
.image_block a {
width: 100%;
text-align: center;
position: absolute;
bottom: 0px;
}
.image_block img {
/* Nothing Specified */
}
어떻게 중복 콘텐츠를 유지합니까?
참고 : 여기 CSS가 제공하는 것처럼 이미지가 화면의 중앙에있는 한 CSS를 변경해도 괜찮습니다.
감사하지만 작동하지 않습니다. – L84
확인하십시오 .. http://jsfiddle.net/NpuEs/1/ – Sowmya