开发者

HTML/CSS: get rid of cursor in opera

building a website for a touch PC and need to know how to make the cursor disa开发者_运维问答ppear completely in opera.

Any suggestions?


You could try the following CSS rule:

cursor: none;

That's likeliest unlikely to be supported, as it was introduced in CSS3, and has not yet reached wide adoption.

If that's not supported in Opera, you could try:

cursor: url('/path/to/empty/image.format');

That should set the cursor to appear as that image, which could be a blank/transparent 1x1 image.


EDIT: It looks like neither of these options is supported yet in Opera (though both are valid CSS3.) . Pending another idea, my above examples won't work in Opera.

Quirks Mode has an excellent grid where you can test out the support for each property: http://www.quirksmode.org/css/cursor.html Just mouseover each column name to see how it renders in Opera.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜