为什么输入文本有不同的位置和输入阴影不显示在Internet Explorer中? [英] Why does the input text have a different position and input shadow not show in internet explorer?

查看:203
本文介绍了为什么输入文本有不同的位置和输入阴影不显示在Internet Explorer中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请查看:

http:// jsfiddle。 net / nHdAp

希望它看起来像在互联网浏览器,但在互联网浏览器的文本不是在输入的中心在顶部并且阴影不显示。如何可以改变?

want it to look like that in internet explorer but in internet explorer the text isn't in the centre of the input its at the top and the shadow doesn't show up. How can this be changed?

必须有办法!

推荐答案

$ c> line-height:29px 可能会解决您的文本对齐问题。至于box-shadow属性,只有IE9及以上支持它。请参阅此链接以供参考: http://caniuse.com/#search=box-shadow

Adding line-height: 29px on your input will probably fix your text alignement problem. As for the box-shadow property, only IE9 and up supports it. See this link for reference : http://caniuse.com/#search=box-shadow

这篇关于为什么输入文本有不同的位置和输入阴影不显示在Internet Explorer中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆