附件是屏幕截图,由于某种原因,单击按钮时会出现蓝色部分。
这是我用于此按钮的代码:
html:
<div style="display:table-cell;" class="btnRight">
<span class="scrollUp" onclick="mobile_scrollUp();"></span>
<div style="clear:both"></div>
<span class="scrollDown" onclick="mobile_scrollDown();"></span>
</div>
CSS:
.btnRight .scrollUp {
width: 35px;
height: 35px;
background: url(../images/up-down-arrows.png) 0px 0px no-repeat;
}
.btnRight .scrollUp {
width: 35px;
height: 35px;
background: url(../images/up-down-arrows.png) 0px 0px no-repeat;
}
.previews-status span {
margin: 7px 0 0 0;
display: inline-block;
cursor: pointer;
}