Pseudo Pseudo Class “hover”

Test

Style Sheet Fragment


li {
  behavior: expression(function (el) {
    el.onmouseover = function () { this.className += ' HOVER' };
    el.onmouseout = function () { this.className = this.className.replace (/\\s*HOVER\\b/g, '') };
    runtimeStyle.bahavior = 'none';
  } (this));
}
li:hover /* For CSS compliant user agents */,
li.HOVER /* For WinIE */ {
  color: red;
  background-color: white;
}