mouse hover on anchor tag does not display pointer

2019-07-05 02:31发布

I have a code in my razor view as below. The pointer cursor is not displaying while mouse hover on any of the anchor tag. The same code works fine on IE 9. This issue is observed on Chrome browser. Any guess why the below code failed on Chrome Version 25.0.1364.172 m?

 <ul id="menu" class="menu">
                               <li><a href="#" style="cursor: pointer;">Top 10 Headlines</a>
                               </li>
                                <li><a href="#">Related Content</a>
                               </li>
                           </ul>

2条回答
等我变得足够好
2楼-- · 2019-07-05 03:07

Do you have Developer tools open? For some reason cursor will not show as pointer while this tool is open. Close it and try again.

查看更多
看我几分像从前
3楼-- · 2019-07-05 03:19

The issue is chrome developer tools as stated by LetsGoRangers

Fix: Press F12 Click on the gear icon (lower right in version 27) Click override (left column) make sure "emulate touch events" is unchecked.

The cursor should appear even with Developer Tools open now.

There have been issues where it will check itself after restarting chrome. You may need to reinstall chrome to fix this.

查看更多
登录 后发表回答