Home > Web Front-end > CSS Tutorial > css compatibility issuethis.style.cursor=''hand''_Experience exchange

css compatibility issuethis.style.cursor=''hand''_Experience exchange

WBOY
Release: 2016-05-16 12:04:22
Original
1566 people have browsed it

Author: Luo Ke
Look at this sentence first

Copy code The code is as follows:

There is no problem in IE. When the mouse is moved over, a small hand shape will appear, but in FF , only the first stroke is valid. This is valid because of the existence of anchor mark A, not the result of onmouseover.
I searched a lot on the Internet, and they all said that just change this.style.cursor='hand' to this.style.cursor='pointer', but in FF, it will only appear for the first time when the mouse is moved over it. tiny hand.
In fact, it is possible to achieve the same effect in IE under FF. Our solution is to use CSS HACK (did I add this to CSS HACK haha?)
Copy code The code is as follows:

In IE7 and FF3 .0.3 passed the test.
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template