html:
<div class="st1">
<a href="#">test</a>
</div>
<div class="st2">
</div>
和CSS:
.st1 a {
text-decoration: none;
border-bottom: 2px solid red;
padding: 0px;
margin: 0px;
}
.st1 {
padding: 0px;
margin: 0px;
}
.st2 {
padding: 0px;
margin: 0px;
border-top: 2px solid green;
}
http://jsfiddle.net/uk4Ug/embedded/result/
火狐渲染:
铬合金:
我想要在 chrome 中与在 Firefox 中相同的渲染。如何解决?