mouse hover on anchor tag does not display pointer cursor. Behavior observed on Chrome, works fine on IE 9?

别等时光非礼了梦想. 提交于 2019-12-10 21:54:48

问题


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>

回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/15730025/mouse-hover-on-anchor-tag-does-not-display-pointer-cursor-behavior-observed-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!