不能键入在IE11文本框

问题描述 投票:12回答:5

在我的地盘,我不能在Windows 7上单击文本输入字段中键入的文本框IE11,我可以看到插入符号领域以外闪烁,定位在专页的其他地方。我可以重现这个问题在很多电脑与IE11。

通过检查设置IE8解决了这个问题,用IE> = 9它显示的问题。该网站使用Twitter的引导。我试着z-index的修复没有成功。

网站链接:http://fortis7.moutheme.com/

internet-explorer twitter-bootstrap textfield
5个回答
5
投票

我设法给它一个height来解决这个问题。


3
投票

我发现了box-sizing: border-box;没有工作,所以我改成了content-box

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
   /* IE10+ specific style */
   input:not([type="select"]),
   input:not([type="submit"]) {
     padding: 15px 20px;
     box-sizing: content-box;
     line-height: normal;
     width: auto;
     height: 15px;
     display: inline-block;
   }
}

2
投票

对我来说,看起来像> = IE8与盒大小CSS属性的问题..它似乎是隐藏文本它不能满足。我不得不调整我的填充和字体大小的IE来解决这个问题。不知道这是否是你有同样的问题..但值得一试。


2
投票

我有同样的问题,并发现这是我的CSS框架(基金会)是把2.4375rem的高度,所有投入......你需要越过的设置!喜欢的东西

[type=color],
[type=date],
[type=datetime-local],
[type=datetime],
[type=email],
[type=month],
[type=number],
[type=password],
[type=search],
[type=tel],
[type=text],
[type=time],
[type=url],
[type=week],
textarea {
    height: auto;
}

0
投票

这是因为Internet Explorer无法理解大众或VH的一种字体的大小CSS值。只要改变你的单位的文本框回像素(PX)和问题消失。

© www.soinside.com 2019 - 2024. All rights reserved.