gpt4 book ai didi

html - CSS 和按钮的问题

转载 作者:太空宇宙 更新时间:2023-11-04 05:27:58 25 4
gpt4 key购买 nike

我有 CSS

div.myButton input a {
display:block;
height: 24px;
width: 43px;
padding:10px 10px 10px 7px;
font: bold 13px sans-serif;;
color:#333;
background: url("hover.png") 0 0 no-repeat;
text-decoration: none;
}
myButton a:hover {
background-position: 0 -44px;
color: #049;
}
myButton a:active {
background-position: 0 -88px;
color:#fff;
}

然后我有 HTML

<div class="myButton"><INPUT type="submit" name="" value=""></div>

我不知道哪里出错了,但我无法查看图像!!

有什么帮助吗?

谢谢

最佳答案

改变

div.myButton input a 

div.myButton input 

和另外 2 个

div.myButton input:hover

div.myButton input:active

http://www.jsfiddle.net/EpyGn/1/

关于html - CSS 和按钮的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4374380/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com