Children inside <a href> trigger mouseout. How to prevent that?
- by stagas
I have this:
<a href="javascript:void(0);">
<div>
<span>some content</span>
<span>some content</span>
</div>
</a>
The problem is hovering the mouse over from one <span> to another triggers an instant mouseout and mouseover again even though they have no padding or margin between them. Even on the browser's status bar the link flickers for an instant. How can this be prevented?