We are facing a weird problem in IE6. The page works fine in Firefox and IE7.
We have a page which has a div and a iframe within that div Example:
<html>
<body>
...
<div>
<iframe src="page.aspx" />
</div>
</body>
</html>
Now assume page.aspx has this code:
<html>
<body>
..
<a href="#" onclick="alert('just an alert');">click me</a>
</body>
</html>
Now if user clicks on the link 'click me' then the iframe moves! Here is a depiction of the behavior:
Before clicking on the link
After clicking on the link
It seems like none of the code written by us is causing an issue, as the only thing that happens when the user clicks on the link 'click me' is to just show an alert box.
has anybody faced a similar issue? Any pointers about how to resolve this problem?
PS: It is difficult for me to reproduce the problem with a simple example.