简体   繁体   中英

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

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!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM