Why does the input text have a different position and input shadow not show in internet explorer?

本秂侑毒 提交于 2019-12-25 01:27:08

问题


Take a look at:

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?

There must be a way!


回答1:


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



来源:https://stackoverflow.com/questions/8280703/why-does-the-input-text-have-a-different-position-and-input-shadow-not-show-in-i

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!