+ -
当前位置:首页 → 问答吧 → 请教一个关于CSS修改鼠标样式的问题

请教一个关于CSS修改鼠标样式的问题

时间:2011-02-19

来源:互联网

CSS这么写的
复制内容到剪贴板
代码:
cursor: url(http://localhost/com.zuicomic/images/author/put.cur), default;
在firefox下正常,但是在IE下鼠标放大了好几倍,这是怎么回事?

作者: feigege   发布时间: 2011-02-19

演示如下,在FF下正常,在IE下鼠标被放大了好几倍
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- * { width: 100%; height: 100%; cursor: url(http://cg.am/com.zuicomic/images/author/put.cur), default; background: #fff; overflow: hidden; } --> </style> </head> <body> </body> </html>
 提示:您可以先修改部分代码再运行

作者: feigege   发布时间: 2011-02-19