Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: FW: Table Trouble


Message #1 by Gregory_Griffiths@c... on Wed, 29 Nov 2000 10:31:28 +0000
I don't know why this works, but whenever I have this problem I just
move the <form> tags. see below. When you take the borders off the
tables you get everything inline.

HTH

In message <H0000572027c8ed5.0975493887.here.cgo.cargill.com@M...>,
Gregory_Griffiths@c... writes
> Dear All,
>       I am encountering a small problem with a HTML Table, for some 
>reason I can't seem to get it to appear as a single line on the page. 
>The problem seems to be in the table that is held in the cell with the 
>SELECT, I would like to remove the excess space around the table
> 
> <table width="100%" cellspacing="0" cellpadding="0" border="0" 
>bgcolor="#FFFF80">
> <tr>
> <td width="65%">
> <table width="100%" cellspacing="0" cellpadding="0" border="2" 
>bgcolor="#FFFF80">
> <tr>
> <td width="100%">
> <font size="+1" face="comic sans ms,arial">    Main Menu 
>:</font>
> <font size="+2"> Update Password</font>
> </td>
> </tr>
> </table>
> </td>
> <td width="35%" align="right" valign="middle">
> <table width="100%" cellspacing="0" cellpadding="0" border="2" 
>bgcolor="#FFFF80">
> <tr>
<!-- this tag moved up//-->
> <form NAME="menuselector">
> <td width="100%" align="right">
> <font size="-4"><br></font>
> > <select NAME="menuoption" 
> onChange="menuChange(document.menuselector.menuoption)">
> <option VALUE="0" selected>Please Choose an Option</option>
> <option VALUE="http://127.0.0.1:8080/cgi-bin/cilp/owner/menu.pl">Main 
>Menu</option>
> <option 
>VALUE="http://127.0.0.1:8080/cgi-bin/cilp/owner/updatesite.pl">Site 
>Info</option>
> <option 
>VALUE="http://127.0.0.1:8080/cgi-bin/cilp/owner/updatecontact.pl">Conta
c
>t Info</option>
> <option 
>VALUE="http://127.0.0.1:8080/cgi-bin/cilp/owner/updatepassword.pl">Chan
g
>e Password</option>
> <option VALUE="0">--------------------</option>
> <option VALUE="logout">Logout</option>
> </select>   </td>
<!-- this tag moved down//-->
</form>
> </tr>
> </table>
> </td>
> </tr>
> </table>
> 
>
>

-- 
Ian Richardson

  Return to Index