【发布时间】:2011-05-21 10:49:40
【问题描述】:
如你所见
我想在单击按钮后以某种方式删除虚线。有什么想法吗?
谢谢
GUYS:这是我的 CSS 和 HTML 的当前状态,但仍然没有使用:
.myButton input {
position:absolute;
display:block;
top: 5%;
left:87%;
height: 44px;
border:none;
cursor:pointer;
width: 43px;
font: bold 13px sans-serif;;
color:#333;
background: url("hover.png") 0 0 no-repeat;
text-decoration: none;
}
.myButton input:hover {
background-position: 0 -44px;
color: #049;
outline: 0;
}
.myButton input:active {
background-position: 0 -88px;
color:#fff;
outline: 0;
}
input:active, input:focus {
outline: 0;
}
<div class="myButton">
<input type="submit" value="">
</div>
好像什么都没有发生!!
【问题讨论】:
-
您应该保留它们以方便访问。
-
伙计们,我已经编辑了帖子..仍然没有用!!
-
你可以查看我更新的答案...
标签: javascript html css