<TABLE CLASS="MYTABLE">
<CAPTION CLASS="MYTABLE">Jumpstart</CAPTION>
<TD>
   <TABLE CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE">Boot Parameters</TH>
      </TR>
    <TBODY>
     <TR CLASS="MYTABLE">  
        <TD CLASS="MYHOST" ROWSPAN=14><p><br>
                Host Name: <input size=16 type=text name=host><br>
         Mgmt MAC Address: <input size=17 type=text name=mgmtmacaddress><br>
           Mgmt Interface:
           <select CLASS="MYTABLE">
              <option name=hme0>hme0</option>
              <option name=fjgi0>fjgi0</option>
              <option name=fjgi1>fjgi1</option>
              <option name=fjgi2>fjgi3</option>
           </select><br>
        Mgmt IP Address (If Static): <input size=16 name=mgmtipaddr><br>
        Jumpstart Network:
           <select CLASS="MYTABLE">
              <option name=jumpsubnet1>192.168.2.0/28</option>
              <option name=jumpsubnet1>192.168.3.0/28</option>
           </select><br>
            OS to Install:
           <select CLASS="MYTABLE">
              <option name=Solaris9>Solaris 9</option>
              <option name=Solaris10>Solaris 10</option>
              <option name=OpenSolaris>OpenSolaris</option>
           </select><br>
                Platform:
           <select CLASS="MYTABLE">
              <option name=Sun8U>Sun4M</option>
              <option name=Sun8M>Sun4U</option>
              <option name=Sun8M>Sun4V</option>
              <option name=x86>x86</option>
           </select><br>
        Swap Size: <input size=16 type=text name=swapsize><br>
        Reserve Partition:
          <input type=checkbox name=reservecheck>
          <input type=text size=10 name=reservesize> MB<BR>
              Global Zone:
          <input type=checkbox name=globalzone><BR>
              Tivoli Agent:
          <input type=checkbox name=tivoliagent><BR>
             OpsWare Agent:
          <input type=checkbox name=opswareagent><br>
           Oracle DB Server:
          <input type=checkbox name=OracleDBServer><BR>
                        DMZ:
          <input type=checkbox name=DMZ><BR></p></TD></TR>
    </TBODY>
    </TABLE></TD>

WHAT I AM TRYING TO DO IS TEST THE TEXT IN THIS CELL TO ALL
LINE UP TO THE ":" AND THE REST AT THE BOTTOM TO LINE UP TO THE CHECK BOXES.

SO INSTEAD OF THEM BEING LEFT JUSTIFIED. I WANT THE TEXT TO LOOK LIKE THIS BELOW:

Boot Parameters
Host Name:
Mgmt MAC Address:
Mgmt Interface:
Mgmt IP Address (If Static):
Jumpstart Network:
OS to Install:
Platform:
Swap Size:
Reserve Partition:
Global Zone:
Tivoli Agent:
OpsWare Agent:
Oracle DB Server:
DMZ:

AS YOU SEE I WANT THE ALIGNMENT TO BE BY THE : CHARACTER

I HAVE TRIED TO GET THE BOTTOM TO LOOK HOW I WANT IT.
BUT SEEMS THE WEB SITE IS NOT ALLOWING THAT TO HAPPEN.

SORRY IF THIS IS ALL IN UPPER CASE. THERE MAY BE SETTING I NEED TO SETUP FOR THIS LIST.


ANY SUGGESTION WOULD BE GREATFUL.

Recommended Answers

All 11 Replies

<td align="right">

More precisely, the easiest way is to nest another table (unfashionable but practical) with two colums, one for labels, the other for fields.

Here are the first couple of rows:

<table>
		<tr>
		<td align="right">Host Name: </td>
		<td><input size="16" type="text" name="host"></td>
		</tr>
		<tr>
		<td align="right">Mgmt MAC Address: </td>
		<td><input size="17" type="text" name="mgmtmacaddress"></td>
		</tr>
		<tr>
		<td align="right">etc.</td>
		<td>etc.</td>
		</tr>
		</table>

Airshow

More precisely, the easiest way is to nest another table (unfashionable but practical) with two colums, one for labels, the other for fields.

Here are the first couple of rows:

<table>
		<tr>
		<td align="right">Host Name: </td>
		<td><input size="16" type="text" name="host"></td>
		</tr>
		<tr>
		<td align="right">Mgmt MAC Address: </td>
		<td><input size="17" type="text" name="mgmtmacaddress"></td>
		</tr>
		<tr>
		<td align="right">etc.</td>
		<td>etc.</td>
		</tr>
		</table>

Airshow

Thanks, I get that but I also want to avoid borders I can doing that.

Okie,

There are no borders specifiec in either your HTML or mine, so if you are seeing borders I would guess they are specified in CSS. Look for a line something like:

td { border:1px solid #000000;}

If necessary, you can have some tables with borders and others without by giving each table an id, then using the id selector # in css. eg:
CSS : #t1 td { border:1px solid #000000; } .
HTML : <table id="t1">.....</table> .

Airshow

Okie,

There are no borders specifiec in either your HTML or mine, so if you are seeing borders I would guess they are specified in CSS. Look for a line something like:

td { border:1px solid #000000;}

If necessary, you can have some tables with borders and others without by giving each table an id, then using the id selector # in css. eg:
CSS : #t1 td { border:1px solid #000000; } .
HTML : <table id="t1">.....</table> .

Airshow

Airshow,

Thanks for the suggestions. I now have a template that I am working with and is working just fine. Now I have to fix the <Form> Tags
so that it gets both tables as it is just one huge form. I have a problem with that.

Below is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<html>
<head>
  <title>Jumpstart</title>
  <link type="text/css" rel="stylesheet" href="/css/modern.css" />
</head>
<body>
<TABLE CLASS="MYTABLE">
<CAPTION CLASS="MYTABLE">Solaris Jumpstart</CAPTION>
#!/usr/bin/perl -wT
use CGI qw(:standard);
#!/usr/bin/perl -wT
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;

#!/usr/bin/perl -wT
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;

print "Content-type: text/html\n\n";

#!/usr/bin/perl -wT
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<html>
          </tr>
          <tr class="MYTABLE">
           <td class="MYOSINSTALL">OS to Install:</td>
           <td class="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=RedHat4>Red Hat 5.0</option>
              <option name=RedHat4>Red Hat 4.0</option>
              <option name=RedHat3>Red Hat 3.0</option>
           </select></td>
           </tr>
           <tr class="MYTABLE">
          </tr>
          <tr class="MYTABLE">
    </TBODY>
    </TABLE></TD>
<TD CLASS="MYTABLE">
   <TABLE CLASS="MYTABLE">
    <THEAD CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN=7>Production Networks</TH>
      </TR>
    </THEAD>
    <TBODY CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE">BOND</TH>
        <TH CLASS="MYTABLE">Interface</TH>
        <TH CLASS="MYTABLE">802.1q VLAN</TH>
        <TH CLASS="MYTABLE">Hostname</TH>
        <TH CLASS="MYTABLE">IP Address</TH>
              <option name=jumpsubnet1>192.168.3.0/28</option>
           </select></td>
          </tr>
          <tr class="MYTABLE">
           <td class="MYOSINSTALL">OS to Install:</td>
           <td class="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=RedHat4>Red Hat 5.0</option>
              <option name=RedHat4>Red Hat 4.0</option>
              <option name=RedHat3>Red Hat 3.0</option>
           </select></td>
           </tr>
           <tr class="MYTABLE">
              <td class="MYPLATFORM">Platform:</td>
              <td class="MYTABLE">
                <select CLASS="MYTABLE">
                  <option name=Sun8M>Sun4V</option>
                  <option name=x86>x86</option>
                </select></td>
           </tr>
           <tr class="MYTABLE">
              <td class="MYSWAPSIZE">Swap Size: </td>
              <td class="MYTABLE"><input size=16 type=text name=swapsize></td>
           </tr>
           <tr class="MYTABLE">
      </TR>
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN=7>Production Networks</TH>
      </TR>
    </THEAD>
    <TBODY CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE">BOND</TH>
        <TH CLASS="MYTABLE">Interface</TH>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<html>
<head>
  <title>Jumpstart</title>
  <link type="text/css" rel="stylesheet" href="/css/modern.css" />
#!/usr/bin/perl -wT
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;

              <option name="aggr2fjgi3">fjgi3</option>
          </select></TD></TR>
    </TBODY></TD>
</TABLE>
<input name="Submit" type="button" value="Submit" class="buttons" />
</form>
</body>
</html>
     text-indent: 18ex;
     text-align: right;
}

form {
        margin:0;
        padding:0;
}


~
~
~
~
~
~
              <option name="aggr2fjgi3">fjgi3</option>
          </select></TD></TR>
    </TBODY>
    <TFOOT CLASS="MYTABLE">
       <TR CLASS="MYTABLE"> <TH ALIGN=LEFT COLSPAN="2" CLASS="MYTABLE">&nbsp;</TH></TR>
TABLE.MYTABLE {
     font-family:arial;
     font-size:10pt;
     background-color:#000000;
     width:355px;
     border-style:solid;
     border-color:yellow;
     border-width:2px;
     margin-left:auto;
     margin-right:auto;
}

CAPTION.MYTABLE {
     background-color:#0000ff;
     color:white;
     border-style:solid;
     border-width:2px;
     border-color:black;
     text-align: center;
}
                <td class="MYTABLE"><input type=checkbox name=OracleDBServer></td>
              </tr>
              <tr class="MYTABLE">
                <td class="MYDMZ">DMZ:</td>
                <td class="MYTABLE"><input type=checkbox name=DMZ></TD></TR>
    </TBODY>
    <TFOOT CLASS="MYTABLE">
       <TR CLASS="MYTABLE"> <TH ALIGN=LEFT COLSPAN="2" CLASS="MYTABLE">&nbsp;</TH></TR>
    </TFOOT>
    </TABLE>
</TD>
<TD CLASS="MYTABLE">
   <TABLE CLASS="MYTABLE">
    <THEAD CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN=7>Production Networks</TH>
      </TR>
    </THEAD>
    <TBODY CLASS="MYTABLE">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<html>
#!/usr/bin/perl -wT
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;

print "Content-type: text/html\n\n";

# Read HTML from template.
merge_file("solaris-table.html");
exit;

sub merge_file {
  # Read HTML from template.
  my $template_file = shift;
  open(TEMPLATE, $template_file) or print "Error opening $template_file. $!";
  # temporarily disable "uninitialized value" warnings
  $^W = 0;
  while (<TEMPLATE>) {s/<<(.*?)>>/$1/eeg; print;}
  $^W = 1;
  close(TEMPLATE);
}
~
~
~
:q!
root@dhcppc0># ls
jumpstart.cgi         kickstart.cgi         printenv              test-cgi
kickstart-table.html  org                   solaris-table.html    test_template.html
root@dhcppc0># cat solaris-table.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<html>
<head>
  <title>Jumpstart</title>
  <link type="text/css" rel="stylesheet" href="/css/modern.css" />
</head>
<body>
<TABLE CLASS="MYTABLE">
<CAPTION CLASS="MYTABLE">Solaris Jumpstart</CAPTION>
<TD CLASS="MYTABLE">
   <TABLE CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN="2">Boot Parameters</TH>
      </TR>
    <TBODY CLASS="MYTABLE">
     <TR CLASS="MYTABLE">  
        <TD CLASS="MYHOST">Host Name: </TD>
        <TD CLASS="MYTABLE"><input size=16 type=text name=host></TD>
     </TR>
     <TR CLASS="MYTABLE">
        <TD CLASS="MYMACADDR">Mgmt MAC Address:</td>
        <td CLASS="MYTABLE"><input size=17 type=text name=mgmtmacaddress></TD>
      </TR>
      <tr CLASS="MYTABLE">
        <td CLASS="MYMGMTINT">Mgmt Interface:</td>
        <td CLASS="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=hme0>hme0</option>
              <option name=fjgi0>fjgi0</option>
              <option name=fjgi1>fjgi1</option>
              <option name=fjgi2>fjgi3</option>
           </select></td>
        </tr>
        <tr CLASS="MYTABLE">
           <td class="MYMGMTIP">Mgmt IP Address (If Static): </td>
           <td CLASS="MYTABLE"><input size=16 name=mgmtipaddr></td>
         </tr>
         <tr CLASS="MYTABLE">
           <td CLASS="MYJUMPSTART">Jumpstart Network:</td>
           <td CLASS="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=jumpsubnet1>192.168.2.0/28</option>
              <option name=jumpsubnet1>192.168.3.0/28</option>
           </select></td>
          </tr>
          <tr class="MYTABLE">
           <td class="MYOSINSTALL">OS to Install:</td>
           <td class="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=Solaris9>Solaris 9</option>
              <option name=Solaris10>Solaris 10</option>
              <option name=OpenSolaris>OpenSolaris</option>
           </select></td>
           </tr>
           <tr class="MYTABLE">
              <td class="MYPLATFORM">Platform:</td>
              <td class="MYTABLE">
                <select CLASS="MYTABLE">
                  <option name=Sun8U>Sun4M</option>
                  <option name=Sun8M>Sun4U</option>
                  <option name=Sun8M>Sun4V</option>
                  <option name=i86pc>i86pc</option>
                </select></td>
           </tr>
           <tr class="MYTABLE">
              <td class="MYSWAPSIZE">Swap Size: </td>
              <td class="MYTABLE"><input size=16 type=text name=swapsize></td>
           </tr>
           <tr class="MYTABLE">
             <td class="MYRESERVEPART">Reserve Partition:</td>
             <td class="MYTABLE"><input type=checkbox name=reservecheck>
             <input type=text size=10 name=reservesize> MB</td>
            </tr>
            <tr class="MYTABLE">
              <td class="MYGLOBALZONE">Global Zone:</td>
              <td class="MYTABLE"><input type=checkbox name=globalzone></td>
             </tr>
             <tr class="MYTABLE":>
               <td CLASS="MYTIVOLIAGENT">Tivoli Agent:</td>
               <td CLASS="MYTABLE"><input type=checkbox name=tivoliagent></td>
             </tr>
             <tr class="MYTABLE">
                <td class="MYOPSWARE">OpsWare Agent:</td>
                <td class="MYTABLE"><input type=checkbox name=opswareagent></td>
             </tr>
             <tr class="MYTABLE">
                <td class="MYORACLEDB">Oracle DB Server:</td>
                <td class="MYTABLE"><input type=checkbox name=OracleDBServer></td>
              </tr>
              <tr class="MYTABLE">
                <td class="MYDMZ">DMZ:</td>
                <td class="MYTABLE"><input type=checkbox name=DMZ></TD></TR>
    </TBODY>
    <TFOOT CLASS="MYTABLE">
       <TR CLASS="MYTABLE"> <TH ALIGN=LEFT COLSPAN="2" CLASS="MYTABLE">&nbsp;</TH></TR>
    </TFOOT>
    </TABLE>
</TD>
<TD CLASS="MYTABLE">
   <TABLE CLASS="MYTABLE">
    <THEAD CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN=7>Production Networks</TH>
      </TR>
    </THEAD>
    <TBODY CLASS="MYTABLE">
      <TR CLASS="MYTABLE">  
        <TH CLASS="MYTABLE">IPMP</TH>
        <TH CLASS="MYTABLE">Interface</TH>
        <TH CLASS="MYTABLE">802.1q VLAN</TH>
        <TH CLASS="MYTABLE">Hostname</TH>
        <TH CLASS="MYTABLE">IP Address</TH>
        <TH CLASS="MYTABLE">Netmask</TH>
        <TH CLASS="MYTABLE">IPMP Test IP</TH>
      </TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>

      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS="MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS="MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TH CLASS="MYTABLE" colspan=7>Link Aggregation Networks</TH>
      </TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" COLSPAN=7>Aggregator1:
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>
        Members: <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS=MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          </TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" COLSPAN=7>Aggregator2:
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>
        Members: <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
root@dhcppc0># ls
jumpstart.cgi         kickstart.cgi         printenv              test-cgi
kickstart-table.html  org                   solaris-table.html    test_template.html
root@dhcppc0># cat solaris-table.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 8.01//EN">
<html>
<head>
  <title>Jumpstart</title>
  <link type="text/css" rel="stylesheet" href="/css/modern.css" />
</head>
<body>
<TABLE CLASS="MYTABLE">
<CAPTION CLASS="MYTABLE">Solaris Jumpstart</CAPTION>
<TD CLASS="MYTABLE">
   <TABLE CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN="2">Boot Parameters</TH>
      </TR>
    <TBODY CLASS="MYTABLE">
     <TR CLASS="MYTABLE">  
        <TD CLASS="MYHOST">Host Name: </TD>
        <TD CLASS="MYTABLE"><input size=16 type=text name=host></TD>
     </TR>
     <TR CLASS="MYTABLE">
        <TD CLASS="MYMACADDR">Mgmt MAC Address:</td>
        <td CLASS="MYTABLE"><input size=17 type=text name=mgmtmacaddress></TD>
      </TR>
      <tr CLASS="MYTABLE">
        <td CLASS="MYMGMTINT">Mgmt Interface:</td>
        <td CLASS="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=hme0>hme0</option>
              <option name=fjgi0>fjgi0</option>
              <option name=fjgi1>fjgi1</option>
              <option name=fjgi2>fjgi3</option>
           </select></td>
        </tr>
        <tr CLASS="MYTABLE">
           <td class="MYMGMTIP">Mgmt IP Address (If Static): </td>
           <td CLASS="MYTABLE"><input size=16 name=mgmtipaddr></td>
         </tr>
         <tr CLASS="MYTABLE">
           <td CLASS="MYJUMPSTART">Jumpstart Network:</td>
           <td CLASS="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=jumpsubnet1>192.168.2.0/28</option>
              <option name=jumpsubnet1>192.168.3.0/28</option>
           </select></td>
          </tr>
          <tr class="MYTABLE">
           <td class="MYOSINSTALL">OS to Install:</td>
           <td class="MYTABLE">
           <select CLASS="MYTABLE">
              <option name=Solaris9>Solaris 9</option>
              <option name=Solaris10>Solaris 10</option>
              <option name=OpenSolaris>OpenSolaris</option>
           </select></td>
           </tr>
           <tr class="MYTABLE">
              <td class="MYPLATFORM">Platform:</td>
              <td class="MYTABLE">
                <select CLASS="MYTABLE">
                  <option name=Sun8U>Sun4M</option>
                  <option name=Sun8M>Sun4U</option>
                  <option name=Sun8M>Sun4V</option>
                  <option name=i86pc>i86pc</option>
                </select></td>
           </tr>
           <tr class="MYTABLE">
              <td class="MYSWAPSIZE">Swap Size: </td>
              <td class="MYTABLE"><input size=16 type=text name=swapsize></td>
           </tr>
           <tr class="MYTABLE">
             <td class="MYRESERVEPART">Reserve Partition:</td>
             <td class="MYTABLE"><input type=checkbox name=reservecheck>
             <input type=text size=10 name=reservesize> MB</td>
            </tr>
            <tr class="MYTABLE">
              <td class="MYGLOBALZONE">Global Zone:</td>
              <td class="MYTABLE"><input type=checkbox name=globalzone></td>
             </tr>
             <tr class="MYTABLE":>
               <td CLASS="MYTIVOLIAGENT">Tivoli Agent:</td>
               <td CLASS="MYTABLE"><input type=checkbox name=tivoliagent></td>
             </tr>
             <tr class="MYTABLE">
                <td class="MYOPSWARE">OpsWare Agent:</td>
                <td class="MYTABLE"><input type=checkbox name=opswareagent></td>
             </tr>
             <tr class="MYTABLE">
                <td class="MYORACLEDB">Oracle DB Server:</td>
                <td class="MYTABLE"><input type=checkbox name=OracleDBServer></td>
              </tr>
              <tr class="MYTABLE">
                <td class="MYDMZ">DMZ:</td>
                <td class="MYTABLE"><input type=checkbox name=DMZ></TD></TR>
    </TBODY>
    <TFOOT CLASS="MYTABLE">
       <TR CLASS="MYTABLE"> <TH ALIGN=LEFT COLSPAN="2" CLASS="MYTABLE">&nbsp;</TH></TR>
    </TFOOT>
    </TABLE>
</TD>
<TD CLASS="MYTABLE">
   <TABLE CLASS="MYTABLE">
    <THEAD CLASS="MYTABLE">
      <TR CLASS="MYTABLE">
        <TH CLASS="MYTABLE" COLSPAN=7>Production Networks</TH>
      </TR>
    </THEAD>
    <TBODY CLASS="MYTABLE">
      <TR CLASS="MYTABLE">  
        <TH CLASS="MYTABLE">IPMP</TH>
        <TH CLASS="MYTABLE">Interface</TH>
        <TH CLASS="MYTABLE">802.1q VLAN</TH>
        <TH CLASS="MYTABLE">Hostname</TH>
        <TH CLASS="MYTABLE">IP Address</TH>
        <TH CLASS="MYTABLE">Netmask</TH>
        <TH CLASS="MYTABLE">IPMP Test IP</TH>
      </TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>

      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS="MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">
        <TD CLASS="MYTABLE" rowspan="2">
          <input type=checkbox name=IPMP1></TD>
        <TD CLASS="MYTABLE">
          <select CLASS=MYTABLE">
              <option name="ipmp2hem0">hme0</option>
              <option name="ipmp2fjgi0">fjgi0</option>
              <option name="ipmp2fjgi1">fjgi1</option>
              <option name="ipmp2fjgi2">fjgi2</option>
              <option name="ipmp2fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=VLANIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP2></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP2></TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE">
          <select CLASS="MYTABLE">
              <option name="ipmp1hem0">hme0</option>
              <option name="ipmp1fjgi0">fjgi0</option>
              <option name="ipmp1fjgi1">fjgi1</option>
              <option name="ipmp1fjgi2">fjgi2</option>
              <option name="ipmp1fjgi3">fjgi3</option>
          </select></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=8 name=VLANIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text name=HOSTNAMEIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPADDRESSIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=NETMASKIPMP1></TD>
        <TD CLASS="MYTABLE">
          <input type=text size=16 name=IPMPTESTIPIPMP1></TD></TR>
      <TR CLASS="MYTABLE">  
        <TH CLASS="MYTABLE" colspan=7>Link Aggregation Networks</TH>
      </TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" COLSPAN=7>Aggregator1:
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>
        Members: <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS="MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr1members">
          <select CLASS=MYTABLE">
              <option name="aggr1hem0">hme0</option>
              <option name="aggr1fjgi0">fjgi0</option>
              <option name="aggr1fjgi1">fjgi1</option>
              <option name="aggr1fjgi2">fjgi2</option>
              <option name="aggr1fjgi3">fjgi3</option>
          </select>:
          </TD></TR>
      <TR CLASS="MYTABLE">  
        <TD CLASS="MYTABLE" COLSPAN=7>Aggregator2:
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>
        Members: <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select>:
          <input type="checkbox" name="aggr2members">
          <select CLASS="MYTABLE">
              <option name="aggr2hem0">hme0</option>
              <option name="aggr2fjgi0">fjgi0</option>
              <option name="aggr2fjgi1">fjgi1</option>
              <option name="aggr2fjgi2">fjgi2</option>
              <option name="aggr2fjgi3">fjgi3</option>
          </select></TD></TR>
    </TBODY>
    <TFOOT CLASS="MYTABLE">
       <TR CLASS="MYTABLE"> <TH ALIGN=LEFT COLSPAN="7" CLASS="MYTABLE">&nbsp;</TH></TR>
    </TFOOT>
</TD>
</TABLE>
</body>
</html>

root@dhcppc0>#

I would appreciate a suggest on how to make the form submit these nested table. What I want is the submit button to be outside of table at the bottom left.

First, there's a number of problems in the HTML.

Each section has its own <!doctype> and <head> and <body> tags and I'm not sure that the table/tr/td tags balance. There are also blocks of floating CSS not inside <style> tags. All CSS should really be in the <head> unless it's inline (ie defined as a style="..." attribute of a tag).

With regard to having a single form, that's actually quite simple. You just need to have a structure like:

<form ....>
<!-- Any amount of HTML you like (including tables) -->
<!-- Any amount of HTML you like (including tables) -->
<!-- Any amount of HTML you like (including tables) -->
</form>

Of course, you need to ensure that each section is composed such that there are no collisions of form element names (ie. all names must be unique). As it stands, there are several collisions - just at a glance, name=swapsize , name=globalzone , name=reservecheck . Probably others. I suggest giving the form element names in each section a unique suffix, eg. "_n" where n is an integer.

If, for any reason, you need two or more forms, then make sure they are in series, not nested.

Airshow

First, there's a number of problems in the HTML.

Each section has its own <!doctype> and <head> and <body> tags and I'm not sure that the table/tr/td tags balance. There are also blocks of floating CSS not inside <style> tags. All CSS should really be in the <head> unless it's inline (ie defined as a style="..." attribute of a tag).

With regard to having a single form, that's actually quite simple. You just need to have a structure like:

<form ....>
<!-- Any amount of HTML you like (including tables) -->
<!-- Any amount of HTML you like (including tables) -->
<!-- Any amount of HTML you like (including tables) -->
</form>

Of course, you need to ensure that each section is composed such that there are no collisions of form element names (ie. all names must be unique). As it stands, there are several collisions - just at a glance, name=swapsize , name=globalzone , name=reservecheck . Probably others. I suggest giving the form element names in each section a unique suffix, eg. "_n" where n is an integer.

If, for any reason, you need two or more forms, then make sure they are in series, not nested.

Airshow

Airshow,

Thanks for providing me information. I have attached the html code this time. I see I made a mistake and can see why the code may have been confusing.

I did originally put the form at the top and bottom like you stated but the results I got was not what I wanted.

May providing the file you can better provide me what is wrong.

The html file is test-table.h and the css file is modern.c

Thanks,

OkieUnix,

You have certainly done a good job in getting all that data into a coherent layout.

There are just a few things to fix. Please forgive me for telling you stuff you already know.

Outermost table is missing its </td></tr></table> (at bottom of file).

There are still some name collisions. I spotted these but please look for others:

  • name=IPMP1
  • name=HOSTNAMEIPMP1
  • name=VLANIPMP2
  • name=IPADDRESSIPMP2
  • name=NETMASKIPMP1
  • name=NETMASKIPMP1
  • name="aggr2members"

Select tags should each have a unique name and the options each a value (not name). Values need be unique only within each menu. To initialise select menus to a particular option, use <option value="..." selected>xxx</option> .

I can see nothing to prevent you wrapping the whole thing in <form>...</form> to cause the whole form to be submitted to eg. a php script (or jsp or asp or whatever).

You will want a submit and probably a reset button. Then all you have to do is to write the script to handle the data and to re-serve the page.

You might like to consider an AJAX approach by which form data would be submitted to a script and a response received back without the need to refesh the page. If the user is likely to want to commit incremental adjustments, then an AJAX approach should be seriously considered. The interface would be significantly more user-friendly. However, I would also suggest getting the simple "whole form" approach working first.

Airshow

Sorry, slight correction, those closing table tags should be as follows:

</select></td>
  </tr>
  </tbody>
  </table>
</tr>
</td>
</table>

Airshow

Sorry, slight correction, those closing table tags should be as follows:

</select></td>
  </tr>
  </tbody>
  </table>
</tr>
</td>
</table>

Airshow

Airshow,

Many thanks for your comments and suggestions. They are well noted.
Just to cover myself and make sure we are on the same page.

Name collision I suspect you mean variables I have set that are identical. I did this on purpose for now as I wanted to have things
laid out properly in my initial design.

I figured out the form issue as you already indicated missing tags.
Had I lined this out up front I wouldn't had to deal with missing tags.
I do this manually so I have a better handle on how to write the tags.

This is my first attempt in using CSS which simplifies the pages. :)

I'll be using CSS more often.

Thanks for your help, now I'm off to write the perl scripts that will failthly execute the form I created.

Name collision I suspect you mean variables I have set that are identical. I did this on purpose for now as I wanted to have things laid out properly in my initial design.

Yup, name collision = identical names. OK, design first - that's cool.

This is my first attempt in using CSS which simplifies the pages. :)

I'll be using CSS more often.

It gets to be a way of life. And even better, you can script pages with JavaScript allowing styles to be dynamicaly changed in response to events.

Thanks for your help, now I'm off to write the perl scripts that will failthly execute the form I created.

Ooooh now the real fun starts. I guess you're pretty well qualified in networking.

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.