input 按钮背景,在IE6 IE7中不显示
2013-08-19 14:25
148 查看
首先现在使用IE6 IE7 等低级浏览器的人已经被时代抛弃,但是顾客就是上帝,时代抛弃他们,我们不能抛弃,但是求求你们快换个高级点儿的吧~
废话少说
<input type="button" value="预定" class="bookBtn" id="bookBtn" >
css中加入display:block;就可以了:
input.bookBtn{
display:block;border:none;width: 125px;height: 32px;overflow: hidden;cursor: pointer;background: url("../images/bookBtn.png") no-repeat scroll 0px 0px;
}
废话少说
<input type="button" value="预定" class="bookBtn" id="bookBtn" >
css中加入display:block;就可以了:
input.bookBtn{
display:block;border:none;width: 125px;height: 32px;overflow: hidden;cursor: pointer;background: url("../images/bookBtn.png") no-repeat scroll 0px 0px;
}
相关文章推荐
- input 按钮背景在IE6 IE7中不显示的解决方法
- input按钮加背景,IE7或者IE6会出现黑框
- 遭遇input与button按钮背景图失效不显示的解决办法
- input,button制作按钮IE6,IE7点击时1px黑边框的解决方法
- input背景在ie7上不显示
- input与button按钮背景图失效不显示的解决办法
- input背景图片IE7、IE8不显示解决
- iphone中input按钮设置disabled属性出现灰色背景没有显示问题
- 让IE6显示透明PNG背景图片
- 让IE6显示透明PNG背景图片
- IE7下按钮<input>不显示自定义背景图片
- IE7下按钮<input>不显示自定义背景图片
- css_针对IE6,IE7,IE8,IE9,firefox显示不同效果
- HTML Button 背景图片样式作为按钮显示
- 转 CSS hack:针对IE6,IE7,firefox显示不同效果
- IE6背景图片不显示,解决方法
- 转 CSS hack:针对IE6,IE7,firefox显示不同效果
- CSS hack:针对IE6,IE7,firefox显示不同效果
- CSS hack技巧之IE6,IE7,firefox显示不同效果
- 如何解决input设置背景,在ie6下文本不居中的问题