Is it just me or has IE7 stopped supporting <a href="#" onclick="return false">Hot</a>

I have to resort to <a href="javascript: void(0)">Hot</a>, which is a problem if I wanted to place an actual hyperlink into the href in case user does not have javascript turned on? Why doesn't onclick="return false" work in IE7?

It can't be due to the doctype declaration on the page right?