首页 > 其他 > 详细

input type=button设置高度不管用

时间:2015-05-06 20:59:01      阅读:394      评论:0      收藏:0      [点我收藏+]
1 <input type="button" name="calRate" id="calRate" value="查询" />
1 #calRate{
2     width: 100%;
3     height: 45px;
4 }

这样写了之后不起作用,,,无语。对比之后,突然发现设置个背景,或者写个border:none;甚至随便写个属性。。。

1 #calRate{
2     width: 100%;
3     height: 45px;
4     background: #CECECE;
5 }

 

input type=button设置高度不管用

原文:http://www.cnblogs.com/luckythan/p/4482942.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!