ITPub博客

首页 > Linux操作系统 > Linux操作系统 > firefox css cursor hand

firefox css cursor hand

原创 Linux操作系统 作者:bulletming 时间:2019-01-04 22:18:05 0 删除 编辑
from: http://www.webmasterworld.com/forum83/9345.htm

jackvull


#:1208989
 11:45 am on July 5, 2006 (utc 0)

It seems that cursor: hand is not suported in FF.
Is there a way around it?

birdbrain


#:1208990
 1:23 pm on July 5, 2006 (utc 0)

Hi there jackvull,

It seems that cursor: hand is not suported in FF.

Well, that's because hand is IE proprietary.
You should use pointer

Further reading:-

[url]http://www.w3.org/TR/REC-css2/ui.html#propdef-cursor[/url]

birdbrain

jackvull


#:1208991
 1:31 pm on July 5, 2006 (utc 0)

Thanks.

So is it possible to do some sort of if statement checking for firefox in the css and if so, what's the best way to cover all browser variations?

birdbrain


#:1208992
 2:03 pm on July 5, 2006 (utc 0)

Hi there jackvull,

In IE 6.02 pointer works OK. ;)
I cannot speak for earlier browsers.:(
But that is not really a problem, just use both in your style. sheet.


css">
<!--
#foo {
cursor:pointer;
cursor:hand;
}
-->

birdbrain

Robin_reala


#:1208993
 2:51 pm on July 5, 2006 (utc 0)

cursor:pointer works in 5.5 as well, just 5.0 that has problems.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/82392/viewspace-404414/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: mysqlslap测试
请登录后发表评论 登录
全部评论

注册时间:2004-05-31

  • 博文量
    121
  • 访问量
    106598