submit input doesn't get the :active state in IE8 when I click on the button’s text

后端 未结 4 2006
渐次进展
渐次进展 2021-01-16 14:46

In IE8 if I click exactly on the text-value on a submit button, it doesn\'t get the properties from the input:active CSS selector.

But if I click elsewh

4条回答
  •  春和景丽
    2021-01-16 15:13

    :active selector edit in IE /edit is used to select and style the active link (anchor) element, not input.

    Use Javascript to attach on focus event to your button.

提交回复
热议问题