Hi,
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.

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

Login.html
<form method=post action=login2.php>
<center>
<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>
</table>
<br/>
<table>
<tr><td><input type=submit name=submit value="Submit"></td><td><input type=reset name=reset value="Reset"></td></tr>
</table>
</center>
</form>

Where is your javascript code? this is HTML, if you have a problem with that, please post in the HTML section.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.