In Chromes Dev Tools, you can select an element and enable the hover state. Is there a way that this can be done in Internet Explorers Dev Tools?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- Is TWebBrowser dependant on IE version?
- IE dropdown z-index bug
- Multiple cookies with same name
- jQuery: checkbox does not lose focus (blur) [IE]
相关文章
I am not sure what version of IE you were using when you asked this question.
Just for everyone's information, I am able to view the hover style through the HTML tab by using the following sequence of steps in IE 9:
You can now view the hover CSS.
Edit (Jan 2015):
In IE 11, you click the large blue "a:" icon that appears in the top right of the Styles pane of the DOM Explorer, and then check the "Hover" checkbox.
Lao Lei's suggestion works. When you open the developer tools, be sure it is being on focus so it can receive the shortcut commands - when you click on the scrollbar of the page or on the page it focuses the browser window and makes all shortcut commands be send to the page. To avoid mistakes do the following:
Best Regards.
For those who find this on Google, I created a cross browser tool that allows you to visualize your HTML / CSS layout just by moving the mouse. You can easily view elements in their hover state.
HTML Box Visualizer - GitHub
In IE11, you click the large blue "a:" icon that appears in the top right of the Styles pane of the DOM Explorer, and then check the "Hover" checkbox.
If you can't see the "a:", select an element or HTML tag in the left pane of the DOM Explorer first.
I couldn't find the CSS :hover state in IE developer tools either. So I just ended up using Firebug Lite from a bookmarklet.