저는 이것을 이해할 수 없습니다. 아래 링크는 IE8을 제외한 모든 브라우저에서 정상적으로 작동합니다. IE8에서 요소를 클릭하면 단추가 사라집니다. 다시 클릭하면 다시 나타납니다. 그러나 클릭의 양이 실제로 당신을 href 위치로 안내 할 것입니다. 아무도 내게 왜 그런지 설명 할 수 있니? 나는 모든 생각을 다 써 버렸고 여전히 효과가 없습니다. 당신의 모든 생각에 대해 많은 감사드립니다!href 링크가 작동하지 않습니다. 8
HTML ...
<div style="padding:0px 0px 30px 0px; clear: both;">
<div style="width: 50%; display: block; float: left;">
<a href="../index/features" class="big_button">Learn More</a>
</div>
<div style="width: 50%; display: block; float: left;">
<a href="../index/signup" class="big_button">Get Started</a>
</div>
</div>
... 그리고 스타일 시트는 ...
.big_button {
-moz-box-shadow: inset 0px 1px 0px 0px #bbdaf7;
-webkit-box-shadow: inset 0px 1px 0px 0px #bbdaf7;
box-shadow: inset 0px 1px 0px 0px #bbdaf7;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #79bbff
), color-stop(1, #378de5));
background: -moz-linear-gradient(center top, #79bbff 5%, #378de5 100%);
filter: progid : DXImageTransform.Microsoft.gradient (
startColorstr = '#79bbff', endColorstr = '#378de5');
background-color: #79bbff;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
border: 1px solid #84bbf3;
display: inline-block;
color: #ffffff;
font-family: Arial;
font-size: 18px;
font-weight: bold;
padding: 15px 45px;
text-decoration: none;
margin-left: 130px;
}
.big_button:hover {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #378de5), color-stop(1, #79bbff));
background: -moz-linear-gradient(center top, #378de5 5%, #79bbff 100%);
filter: progid : DXImageTransform.Microsoft.gradient (startColorstr = '#378de5', endColorstr = '#79bbff');
background-color: #378de5;
}
.big_button:active {
position: relative;
top: 1px;
}
상자 그림자 즉, 이전 버전에 문제가있다. 가능한 해결책을 찾으십시오. http://www.useragentman.com/blog/2011/08/24/how-to-simulate-css3-box-shadow-in-ie7-8-without-javascript/ –
흥미 롭습니다. 나는 그것을 몰랐다. 불행히도 CSS의 상자 그림자에 대한 모든 참조를 제거하더라도 링크가 여전히 작동하지 않습니다. – DrNoFruit