Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lining up Text Boxes

Status
Not open for further replies.

kaycee79

Technical User
Jan 10, 2004
82
GB


I am trying to line up the text boxes on my screen, but i am not sure how to do this
can anyone help?

Thanks in Advance

Code:
<!--#include file = "clock.inc"-->

<HTML>
<HEAD>
<TITLE>Login</TITLE>
</HEAD>
<BODY>
<BODY BGCOLOR="#99CCFF">

<FONT FACE="Arial">

<DIV ID="content">
<INPUT TYPE="button" onClick="document.all.content.style.zoom=(document.all.content.style.zoom==1?2:1);" VALUE="Change Text Size">

<BODY ONLOAD="StartClock()" ONUNLOAD="KillClock()">
<FORM NAME="theClock" ACTION="TestValidate.asp" METHOD="post">
<INPUT TYPE="text" NAME="theTime" size=6><% Response.Write Date %><BR> 

<H1><CENTER><B><U>Login</H1></CENTER></B></U>

<TABLE ALIGN="center" CELLSPACING="5" BORDER="6">
<TR>
<TD><A HREF="Home.asp">Home</A></TD>
<TD><A HREF="Registration.asp">Register</A></TD>
<TD><A HREF="Events.asp">Events</A></TD>
<TD><A HREF="DiscussionBoard.asp">Discussion</A></TD>
<TD><A HREF="Feedback.asp">Feedback</A></TD>
<TD><A HREF="Donations.asp">Donation</A></TD>
<TD><A HREF="NewsLetter.asp">Newsletter</A></TD>
<TD><A HREF="SiteMap.asp">Site Map</A></TD>
<TD><A HREF="AboutUs.asp">About Us</A></TD>
<TD><A HREF="Links.asp">Other Links</A></TD>
</TABLE>
<BR>  
<CENTER><a href="forgotpassword.asp">Forgot Password</A></CENTER><BR>

Please enter your details to login. <BR> 
You need to have registered in able to do this.<BR> 
<BR>
  
Username: 
<INPUT TYPE="text" NAME="txtUsername"  SIZE="20"> <BR>
Password:  
<INPUT TYPE="password" NAME="txtPassword" SIZE="20"> <BR>

<INPUT TYPE="submit" NAME="Submit" VALUE="Enter">
<INPUT TYPE="reset" NAME="Reset" VALUE="Clear">  

<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>


<FONT FACE="Comic Sans MS"><I>Registered Charity - 00006257</I><BR>

<% set pageCount = Server.CreateObject("MSWC.PageCounter") %> 
<FONT FACE="Comic Sans MS">This page has been accessed <%= pageCount.pageHit %> times.

</FONT>
</DIV>
</BODY>
</HTML>
 
put them in a table

Code:
<table>
<tr>
<td>Username: </td>
<td><INPUT TYPE="text" NAME="txtUsername"  SIZE="20"></td>
</tr>
<tr>
<td>Password:  </td>
<td><INPUT TYPE="password" NAME="txtPassword" SIZE="20"></td>
</tr>
<tr><td>&nbsp;</td>
<td><INPUT TYPE="submit" NAME="Submit" VALUE="Enter"></td>
</tr>
<tr><td>&nbsp;</td>
<td><INPUT TYPE="reset" NAME="Reset" VALUE="Clear"></td> 
</tr>
</table>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top