다음과 같은 코드를 사용하여 로고가 정확한 위치에 표시되지만 a href=""
은 왜 작동하지 않습니까?CSS 배경을 클릭 할 수 없음 - a href = ""not working
HTML :
<div class="banner">
<span><a href="<?php echo BASE_URL()?>link" title="View information about award"></a></span>
</div>
CSS :이
div.banner{
width:592px;
height:1px;
position: fixed;
top:0;
right:0;
overflow: visible;
}
div.banner span{
display: block;
position: fixed;
top: 0;
right: 0;
background: url(../../../i/ribbon.png) top right no-repeat;
width: 197px;
height: 145px;
text-indent: -999em;
}
div.opens span a{
display:block;
width: 197px;
height: 145px;
}
Shouldn't는 대신의'div.banner 스팬 A' 수'div.opens는 A'에 걸쳐? – insertusernamehere
"작동하지 않습니다"보다 더 유용한 내용이 유용 할 것입니다. –
링크로 무엇을 의미합니까? – caramba