Am using index page with the iframe and redirecting to the login page(login.html).
On going to the page, index.html, am getting redirected to login.html.
In login.html, it's ask for USERNAME and the PASSWORD.
On entering, wrong username or the password, my iframe size keeps on decreasing on each submit action.
Please help me out from this issue. Thanks in advance. Please look at this.

<iframe src="login.html" width="100%" height="100%" frameborder="0" scrolling="no" style="overflow:hidden;" noresize="noresize"></iframe>

<form method=post action=login2.php>
<table border=1>
<tr><td><b>Enter the username :</b></td><td><input type=text name=rollno size=16 maxlength=8></td></tr>
<tr><td><b>Enter the password:</b></td><td><input type=password name=pwd size=16 maxlength=11></td></tr>
<tr><td><input type=submit name=submit value="Submit"></td><td><input type=reset name=reset value="Reset"></td></tr>