css - 表单 CSS 输入 :hover and input:focus not working in IE

标签 css internet-explorer internet-explorer-8 focus hover

我在这个页面上使用了 input:hover 和 input:focus 的 CSS 样式:

Lenticular Printing and 3D Promotional Products

效果在 Chrome 和 Firefox 中有效,但在 IE 中无效。我做错了什么?

最佳答案

如果您在使用 IE9 时没有看到本地计算机(或 Intranet 站点)上的焦点颜色正在充电,请使用工具>>兼容性 View 设置,并禁用兼容性 复选框。

这将覆盖浏览器级别的设置,而不管网站的代码如何。

关于css - 表单 CSS 输入 :hover and input:focus not working in IE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7424224/

相关文章:

iframe - 在 IE8 开发者工具中的 IFrame 中检查?

html - 如何更改下拉菜单(选择)中第一个选项标签的字体大小?

html - 顶部栏中的中心文本,左侧带有 Logo

javascript - 如何更改 html(jade 模板)以在生产中使用 *.min js 和 css?

javascript - ie7 jquery 不绑定(bind)?

javascript - IE JS 类型错误 : Object does not support this property or method

html - SVG > 从中间开始动画宽度

html - 有没有办法在没有 CSS Flex 的情况下从上到下或从左到右显示 HTML 列表?

javascript - Internet-Explorer:外部文本文件仅以二进制格式提供

javascript - font Awesome 无法在 ie9 和 ie11 兼容模式下工作