光标图像在IE中不起作用 [英] Cursor image not working in IE
本文介绍了光标图像在IE中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个具有以下CSS的div.
I have a div with the following css.
.mydiv
{
cursor: url("/image/cursor-hand.png"), move;
}
在chrome,Firefox和safari中工作正常,但在IE中不起作用.
Works fine in chrome, Firefox and safari, But doesn't work in IE.
有帮助吗?
推荐答案
IE不支持普通图形,您需要光标文件 .cur
.
IE doesn't support normal graphics, you need a cursor file .cur
.
另请参阅:
- quirksmode.org:兼容性列表:光标
- MDN:对游标属性使用URL值
- quirksmode.org: compatibility list: Cursor
- MDN: Using URL values for the cursor property
这篇关于光标图像在IE中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文