码迷,mamicode.com
首页 > 其他好文 > 详细

input type=button设置高度不管用

时间:2015-05-06 21:00:55      阅读:115      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!