Skip to content

Instantly share code, notes, and snippets.

@harshityadav95
Created July 8, 2017 18:08
Show Gist options
  • Save harshityadav95/b89e13658171217537e8ce725ef01b2c to your computer and use it in GitHub Desktop.
Save harshityadav95/b89e13658171217537e8ce725ef01b2c to your computer and use it in GitHub Desktop.
HTML code to align login box to the left
<div class="BookingTicketsLogin">
<div class="LoginBlockTop">
<div class="LoginBlock_TopLeft"></div>
<div class="LoginBlock_TopMid"></div>
<div class="LoginBlock_TopRight"></div>
</div>
<div class="LoginBlock">
<div class="LoginBlockDiv">
<h3>Login</h3><br>
<font style="color: red;"></font>
<form name="login" action="http://www.dw.indianrail.gov.in/login.asp" method="post" onsubmit="return chk();">
<fieldset>
<div class="FormField">
<div class="LoginSec1">
<table><tbody><tr><td>
UserID:
</td><td>
<input type="text" value="" id="userid" name="userid" onclick="txtInputEmpty(this,true);" onblur="txtInputEmpty(this,false);" size="25" maxlength="25">
</td> </tr><tr> <td> Password:
</td><td>
<input type="password" value="" id="password" name="password" onclick="txtPasswordEmpty(this,true);" onblur="txtPasswordEmpty(this,false);" size="25" maxlength="25">
</td> </tr> </tbody></table> </div>
<div>
<center><div class="LoginBtn">
<input type="submit" value="Login" name="submit"><br>
</div></center><center>
<div class="LoginBtn1" style="width: 150px; height: 26px; padding-top:8px;">
&nbsp;</div> </center>
</div>
</div></fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment