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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to align this

Status
Not open for further replies.

janise

Technical User
May 25, 2003
161
US
Please don't laugh but why can't I align this correctly.
Can you please save it as an html file, run this and help me align them correctly.
You will notice that LN is too far to the left, Agency and Org are too far apart and so on.


<html>
<head>
<title>Customer information</title>
<body>

<div align=&quot;left&quot;>
<table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;>
<hr width=&quot;100%&quot;>
<TR>
<TD><FONT CLASS='ArialFont' ><B><u>LN</u></TD>
<TD><FONT CLASS='ArialFont' ><B><u>FUND</u></TD>
<TD><FONT CLASS='ArialFont' ><B><u>AGENCY</u></TD>
<TD><FONT CLASS='ArialFont' ><B><u>ORG</u></TD>
<TD><FONT CLASS='ArialFont' ><B><u>OBJ</u></TD>
<TD><FONT CLASS='ArialFont' ><B><u>TOTAL</u></TD>
<TD><FONT CLASS='ArialFont' ><B><u>I/D</u></TD>
</TR>

<tr>
<td><input name=&quot;txtln&quot; size=&quot;4&quot; type=&quot;text&quot; maxlength=&quot;4&quot; value=&quot;&quot;></td>
<td><input name=&quot;txtfund&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtagency&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtorg&quot; size=&quot;4&quot; type=&quot;text&quot; maxlength=&quot;4&quot; value=&quot;&quot;></td>
<td><input name=&quot;txtobj&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txttotal&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtid&quot; TYPE=Text size=2 value=&quot;&quot;></td>
</tr>
<td>&nbsp;<td>
<tr><td><input type=&quot;hidden&quot; name=&quot;Count&quot; value=&quot;0&quot;>
<input type=&quot;submit&quot; name=&quot;cmd_AddNewLine&quot; value=&quot;Add&quot;>
<input type=&quot;submit&quot; name=&quot;cmd_Process&quot; value=&quot;Continue&quot;>
</tr></td>
</table>
</div>

</body>
</html>
 
<html>
<head>
<title>Customer information</title>
<style>
body, div, table, tr, td, p {font-family: Arial;}
</style>
</head>
<body>
<table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;>
<TR>
<TD><B><u>LN</u></b></TD>
<TD><B><u>FUND</u></b></TD>
<TD><B><u>AGENCY</u></b></TD>
<TD><B><u>ORG</u></b></TD>
<TD><B><u>OBJ</u></b></TD>
<TD><B><u>TOTAL</u></b></TD>
<TD><B><u>I/D</u></b></TD>
</TR>
<tr>
<td><input name=&quot;txtln&quot; size=&quot;4&quot; type=&quot;text&quot; maxlength=&quot;4&quot; value=&quot;&quot;></td>
<td><input name=&quot;txtfund&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtagency&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtorg&quot; size=&quot;4&quot; type=&quot;text&quot; maxlength=&quot;4&quot; value=&quot;&quot;></td>
<td><input name=&quot;txtobj&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txttotal&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtid&quot; TYPE=Text size=2 value=&quot;&quot;></td>
</tr>
<tr>
<td colspan=&quot;7&quot;>
<input type=&quot;hidden&quot; name=&quot;Count&quot; value=&quot;0&quot;>
<input type=&quot;submit&quot; name=&quot;cmd_AddNewLine&quot; value=&quot;Add&quot;>
<input type=&quot;submit&quot; name=&quot;cmd_Process&quot; value=&quot;Continue&quot;>
</td>
</tr>
</table>
</body>
</html>
 
<head>
<title>Customer information</title>
<body>
<div align=&quot;left&quot;>
<table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;>
<hr width=&quot;100%&quot;>
<TR>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>LN</u></B></FONT></TD>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>FUND</u></B></FONT></TD>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>AGENCY</u></B></FONT></TD>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>ORG</u></B></FONT></TD>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>OBJ</u></B></FONT></TD>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>TOTAL</u></B></FONT></TD>
<TD WIDTH=&quot;13%&quot;><FONT CLASS='ArialFont' ><B><u>I/D</u></B></FONT></TD>
</TR>
<tr>
<td><input name=&quot;txtln&quot; size=&quot;4&quot; type=&quot;text&quot; maxlength=&quot;4&quot; value=&quot;&quot;></td>
<td><input name=&quot;txtfund&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtagency&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtorg&quot; size=&quot;4&quot; type=&quot;text&quot; maxlength=&quot;4&quot; value=&quot;&quot;></td>
<td><input name=&quot;txtobj&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txttotal&quot; TYPE=Text size=2 value=&quot;&quot;></td>
<td><input name=&quot;txtid&quot; TYPE=Text size=2 value=&quot;&quot;></td>
</tr>
<tr>
<td>
<INPUT TYPE=&quot;hidden&quot; NAME=&quot;Count&quot; VALUE=&quot;0&quot;>
<INPUT TYPE=&quot;submit&quot; NAME=&quot;cmd_AddNewLine&quot; VALUE=&quot;Add&quot;>
<INPUT TYPE=&quot;submit&quot; NAME=&quot;cmd_Process&quot; VALUE=&quot;Continue&quot;></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</div>

You probably need an HTML table tutorial or use a WYSIWYG editor like Dreamweaver.

is a good place to start

BDC.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top