Home  >  Article  >  Web Front-end  >  表单里的input按钮总是只显示了上半部分?_html/css_WEB-ITnose

表单里的input按钮总是只显示了上半部分?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:491533browse

表单里的input按钮总是只显示了上半部分,请问是什么原因呢?我已经设置了大小了,容器大小也够,为什么呢?


回复讨论(解决方案)

。。IE6吧。

不是IE6,chrome firefox ie8都一样
。。IE6吧。

贴代码

虽不知,但觉厉~~~  可能是哪里的js控制高度了,可能是全局css控制了,可能是眼花了··

除了楼上的可能 ,也可以试试 vertical-align:middle;

没有代码,没有真相啊! 

放进firefox里面跑一下 
firebug ---- html--- 布局
找到你那个input 自己看看吧 样式上面禁用一些 调试调试

调试line-height

全局的高度受限了

用FF看下哪影响到了!

没有定义高度

line-height 的问题 应该是

我直接把input改为button就没问题了。。。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn