Newbie to HTMLgen

chris lyon chris.lyon at spritenote.co.uk
Sun Jun 23 20:30:49 CEST 2002


I'm porting an app from Cold Fusion to Python, for various reasons.

And am looking at the possibility of using HTMLgen

I am trying to place the Submit button of a form into a table element using
Tablelite
since the Submit button is generated by the Form Class is there any way to
put it into the table header tag,
of a table that has rows of table data and inputs.

I can't seem to find a way to place the submit button into a table header
cell where the client likes it.



What I'm trying to produce is :-


<HTML>
<HEAD>
<TITLE>General Input Form</TITLE>
</HEAD>
<BODY BGCOLOR=#A0A0A0>&nbsp
<TABLE BORDER="3" CELLPADDING="5" CELLSPACING="0" bgcolor="#C0C0C0">
    <TR bgcolor=#A0A0A0>
        <TH><H3>Add A New System</H3></TH>
        <FORM ACTION="adm-gen-insert.cfm" METHOD="post"
ENCTYPE="multipart/form-data">
        <TH>
            <INPUT TYPE="submit" VALUE="Add System">
        </TH>

<TR><TD></TD><TD>This produces entries in the octavia database</td></tr>

 <TR><TD>DSN:</TD><TD><INPUT TYPE="text" NAME="gendsn" SIZE="10"
MAXLENGTH="80"></TD></TR>

<TR><TD>Webroot value</TD><TD>C:\INETPUB\WWWROOT</TD></TR>
<TR><TD>Title:</TD><TD><INPUT TYPE="text" NAME="gentitle" SIZE="20"
MAXLENGTH="80"></TD></TR>
<TR><TD>Webroot:</TD><TD><INPUT TYPE="text" NAME="genwebroot"
value="C:\INETPUB\WWWROOT" SIZE="40" MAXLENGTH="255"></TD></TR>
<TR><TD>Image (large):</TD><TD><INPUT TYPE="file" NAME="filegenimagebig"
SIZE="40" MAXLENGTH="80"></TD></TR>
<TR><TD>Image (small):</TD><TD><INPUT TYPE="file" NAME="filegenimagesmall"
SIZE="40" MAXLENGTH="80"></TD></TR>
<TR><TD>Logo:</TD><TD><INPUT TYPE="file" NAME="filegenlogo" SIZE="40"
MAXLENGTH="80"></TD></TR>
<TR><TD>Bkgd Colour:</TD><TD><INPUT TYPE="text" NAME="genbgcolor"
VALUE="#A0A0A0" SIZE="10" MAXLENGTH="80"></TD></TR>
<TR><TD>Text Colour:</TD><TD><INPUT TYPE="text" NAME="gentxcolor"
VALUE="#000000" SIZE="10" MAXLENGTH="80"></TD></TR>


    </FORM>
</TABLE>

</BODY>
</HTML>





More information about the Python-list mailing list