Based on my research and the lack of CSS-based answers I found, this IE error seems to be insurmountable with pure CSS (if someone else found otherwise, please acknowledge that I am wrong!). The following is a jQuery-based workaround (in case you're interested):
function toggleTabHover(tabName, hoverStatus) { var element = $('#'+tabName); if (element.hasClass('selectedTab')) { return; } if (hoverStatus === "on") { element.addClass('tabHoverOn'); element.removeClass('tabHoverOff'); } else { element.addClass('tabHoverOff'); element.removeClass('tabHoverOn'); } }
You pass the name of the tab to hang and the state of 'on' / 'off' to which you want to switch. The selected Tab class is for the tab that the button was clicked on (I don't want the hang to be applied to the active tab).
source share