IE11中的光标无法正常工作选择输入 [英] Cursor not functioning correctly in IE11 select inputs

查看:1096
本文介绍了IE11中的光标无法正常工作选择输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅:小提琴:
http://jsfiddle.net/ajjp/b7M2H/

<div>
    <select>
       <option> Option 1 </option>
       <option> Option 2 </option>
       <option> Option 3 </option>
       <option> Option 4 </option>
       <option> Option 5 </option>
       <option> Option 6 </option>
       <option> Option 7 </option>
   </select>
</div>
<div>
   <input>
   </input>
</div>

在Internet Explorer 11中,当鼠标悬停在下面输入的选项上时,游标属性将更改。希望有一个简单的CSS解决方案。

In Internet Explorer 11 the cursor property changes when hovering over a select option that is over the input beneath. Hoping there is a simple CSS solution.

推荐答案

这是一个IE错误似乎在每个版本 - 定位将不起作用。

It's an IE bug that seems to persist in every version - z-index and absolute positioning will not work.

由于它不会削弱功能我说让它是,但是如果你坚持修复它最好的赌注是使用JQuery下拉式例如这一个

Since it doesn't cripple functionality I say let it be, however if you insist on fixing it your best bet is to use a JQuery dropdown alternative such as this one.

这篇关于IE11中的光标无法正常工作选择输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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