IE7 onclick and :active state

Curiously, if you add an onclick event to an anchor in IE7, the anchor remains in the CSS :active state regardless of whether the javascript returns true or false. It’ll stay in this state untill you click on another element on the page.


<!DOCTYPE html>
	<style type="text/css">
		a:active {
	<a href="#" onclick="javascript:return true;">Click me</a>