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!

Tables 1

Status
Not open for further replies.

csniffer

Programmer
Apr 30, 2003
161
GB
how do i get a table down one side of my page and then have a separate table 4 the rest of the page, the table i have at the moment i cannot get the middle table to nudge over
Code:
<HTML>
<HEAD>
<TITLE>
JST
</TITLE>
</HEAD>
<BODY>
 
<Table width =100%  cols=10 ALIGN=CENTER BORDER=3>
<TR><TD align=center> <font size=&quot;3&quot;> 1 </font> </TD><TD align=center> <font size=&quot;3&quot;>
 2 </font> </TD><TD align=center><font size=&quot;3&quot;> 3 </font></TD> </TR>
</table>
<TABLE width=19% border=1 hight=100%
<TR><TD>   <form action=&quot;handleLogin.php&quot; method=&quot;POST&quot;
<Table width=80% border=10><TR><TD>
Username: <input type=text name=username><BR>
Password: <input type=&quot;password&quot; name=&quot;Password&quot;></TD> 
</table>
</form>  
   </TD></TR>
</TABLE>

<TABLE WIDTH=&quot;80%&quot; ALIGN=CENTER BORDER=1 BACKGROUND=&quot;pics/swirlies.gif&quot;>
<TR><TD ALIGN=&quot;CENTER&quot;> <B><FONT SIZE=&quot;5&quot;>Welcome to the SES site!</FONT></B></TD></TR>
<TR><TD ALIGN=CENTER><FONT SIZE=3>Still Under Construction</FONT></TD></TR>
<TR><TD>

</TD></TR><TR><TD><br></TD></TR><TR><TD><br></TD></TR>
<TR><TD ALIGN=CENTER><SMALL>Copyright 2003</SMALL> </TD></TR>
</TABLE>
<Table width =5% BORDER=0>
<TR><TD align=center><font size=&quot;1&quot;>1</font></TD><TD align=center><font size=&quot;1&quot;>2</font></TD><TD align=center><font size=&quot;1&quot;>3</font></TD></TR>
</TABLE>
</BODY>
</HTML>

thx inadvance [3eyes] my gogs are going funny now!


To err is human, to completely mess up takes a computer.
 
better i think to nest all your tables within the table cells of a 'parent' table.... like so:

<table width=100%>
<tr>
<td>
<table width=60%>
<tr>
<td>
...info
</td></tr></table>
</td>
<td>
<table width=40%>
<tr>
<td>
...info
</td></tr></table>
</td>
</tr></table>

... this way ensures that tables wont unexpectantly jump to the next line, and gives you greater control over where your tables lie.

hope this helps


 
thx very much i'll give it a go [thumbsup2]

To err is human, to completely mess up takes a computer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top