Page Three - "Order Form" page



The order form page that you are going to create consists of several tables typed inside a larger table, with a lot of extra non-breaking spacing codes inside them in order to force the text and lines to be placed and aligned with other text and lines. If this were a form that was going to be electronically submitted, then it would have fields instead of lines, and would not need the non-breaking space codes, but since we are setting this page to be printed out by the viewer and mailed in, then we need to use the spacing codes. We do not want to use the spacing graphic that we used for manipulating the formatting with the "about us" page in this case, because when the form is printed out, a spacing graphic would print as a gray block instead of being transparent like it is on the screen.

Since this form is going to be printed by the viewer, we do not want to have the same hyperlink bullets on it that the other two pages have. We will also be using a different version of the background graphic for this page.

The following code sets the table for the order form with a width of 90% of the page. The body code contains the name of the new background image, and the section that sets the top row of the table contains one data cell that stretches across both columns of the table.

<HTML>
<HEAD>
<TITLE>Order Form</TITLE>
<BODY BACKGROUND="backgrnd2.gif">

<CENTER>
<TABLE WIDTH=90% CELLPADDING=10 BORDER=2>
<TR>
<TD COLSPAN=2>
<CENTER><H1>Adventure Travel Service</H1>
<STRONG>
33025 18th Pl. South, Suite E-201<BR>
Federal Way, Washington 98003<BR>
Phone: (206) 555-1212; Fax: (206) 555-2121
</STRONG>
<BR><BR>
Please print and complete this form and mail or fax it to our office to place your
order.<BR>
Or, if you wish, you may e-mail us your request for additional information about our
services.
</CENTER>
</TD>
</TR>


The second section (table row) will contain two data cells that will be 50% of the table width each. They will each have large bold headings and a list of items. Since the two lists are the same, you can copy the first list once it is typed, and paste it for the second set.

<TR>
<TD WIDTH=50%>
<CENTER><STRONG><FONT SIZE=+2>Tour Guide Booklets</FONT><BR>
($9.95 each)</STRONG></CENTER><BR>
_____ African Continent<BR>
_____ Asia<BR>
_____ Australia/New Zealand<BR>
_____ Caribbean Islands<BR>
_____ Europe/Greece<BR>
_____ Polynesian Islands<BR>
_____ South America<BR><BR>
</TD>
<TD WIDTH=50%>
<CENTER><STRONG><FONT SIZE=+2>Photo Journals</FONT><BR>
($14.95 each)</STRONG></CENTER><BR>
_____ African Continent<BR>
_____ Asia<BR>
_____ Australia/New Zealand<BR>
_____ Caribbean Islands<BR>
_____ Europe/Greece<BR>
_____ Polynesian Islands<BR>
_____ South America<BR><BR>
</TD>
</TR>


The third section (table row) of this page will contain a new table within the main table. Doing this will make it easier for the contents of the first cell to be aligned correctly, and will not create a vertical line between them. This will make it appear to be all one data cell when in fact it really two data cells. Several non-breaking space codes will be needed to help align the lines and text within this section.

<TR>
<TD COLSPAN=2>
<STRONG><FONT SIZE=+2>Information Packets and Brochures</FONT></STRONG>
<TABLE WIDTH=100% BORDER=0>
<TR>
<TD VALIGN=TOP>
_____ African Continent<BR>
_____ Asia<BR>
_____ Australia/New Zealand<BR>
_____ Caribbean Islands<BR>
_____ Europe/Greece<BR><BR>
</TD>
<TD VALIGN=TOP>
&nbsp;&nbsp;&nbsp;&nbsp;_____ Polynesian Islands<BR>
&nbsp;&nbsp;&nbsp;&nbsp;_____ South America<BR>
&nbsp;&nbsp;&nbsp;&nbsp;_____ Other:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;
_________________________________________________________________<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;
_________________________________________________________________<BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>


The fourth row of the main table will be a straight-forward single data cell section contain one heading and several lines for the viewer to fill in when the form is printed out. The form lines typed below can each be typed in a continuous line without hitting your return key when yo come to the end of the line like you might want to do with other lines of code. You can let the lines automatically wrap in Simpletext down to the next line.

<TR>
<TD COLSPAN=2>
<STRONG><FONT SIZE=+2>Additional information needed or comments:
</FONT></STRONG>
_____________________________________________________________________ __________________________________<BR>
_____________________________________________________________________ __________________________________<BR>
_____________________________________________________________________ __________________________________<BR>
_____________________________________________________________________ __________________________________<BR><BR>
</TD>
</TR>


The first data cell of the last row of the main table will contain the lines for the viewer's address and phone number. Several spacing codes are needed to align the second address line with the first one.

<TR>
<TD VALIGN=TOP WIDTH=50%>
<STRONG>
Your Name: ____________________________________<BR><BR>
Address: _______________________________________<BR><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
_______________________________________<BR><BR>
Phone Number: _________________________________<BR><BR>
Fax Number: ___________________________________<BR><BR>
</STRONG>
</TD>


You are now down to the last data cell in the main table. This section will contain the totals of number of items ordered and the charges. The best way to handle the alignment of these lines is to set them inside another table with different horizontal alignments.

<TD VALIGN=TOP WIDTH=50%>
<TABLE BORDER=0 WIDTH=100%>
<TR>
<TD VALIGN=TOP>
<STRONG>
Total Number<BR>of Booklets:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;____<BR><BR>
Total Number<BR>
of Photo Journals: ____<BR>
</TD>
<TD VALIGN=TOP ALIGN=RIGHT>
<BR>
(@ $9.95 each) _________<BR><BR><BR>
(@ $14.95 each) _________<BR>
<BR>
<P>Subtotal: _________</P>
<P>Shipping: <U>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;$3.50</U></P>
<P>TOTAL: _________</P>
</TD>
</TR>
</TABLE>


To finish off this data cell, add another line break and a bold italic line stating who the consumer's checks are to be made out to. Then end the cell, row, and table codes.

<BR>
<CENTER><STRONG><EM><FONT SIZE=-1>
*Please make your check payable to Adventure Travel Service.
</FONT></EM></STRONG></CENTER>
</TD>
</TR>
</TABLE>


Since this page does not have the same navigation buttons that the other two pages do, we are going to add a button at the bottom of the page that will have a hyperlink attached to it to send the viewer back to the main homepage.

<BR><BR>
<A HREF="index.html"><IMG SRC="backbutton.gif" BORDER=0></A>
<BR><BR><BR>
</CENTER>
</BODY>
</HTML>


You are now finished with this page and your entire file should read as follows:

<HTML>
<HEAD>
<TITLE>Order Form</TITLE>
<BODY BACKGROUND="backgrnd2.gif">

<CENTER>
<TABLE WIDTH=90% CELLPADDING=10 BORDER=2>
<TR>
<TD COLSPAN=2>
<CENTER><H1>Adventure Travel Service</H1>
<STRONG>
33025 18th Pl. South, Suite E-201<BR>
Federal Way, Washington 98003<BR>
Phone: (206) 555-1212; Fax: (206) 555-2121
</STRONG>
<BR><BR>
Please print and complete this form and mail or fax it to our office to place your order.<BR>
Or, if you wish, you may e-mail us your request for additional information about our services.
</CENTER>
</TD>
</TR>
<TR>
<TD WIDTH=50%>
<CENTER><STRONG><FONT SIZE=+2>Tour Guide Booklets</FONT><BR>
($9.95 each)</STRONG></CENTER><BR>
_____ African Continent<BR>
_____ Asia<BR>
_____ Australia/New Zealand<BR>
_____ Caribbean Islands<BR>
_____ Europe/Greece<BR>
_____ Polynesian Islands<BR>
_____ South America<BR><BR>
</TD>
<TD WIDTH=50%>
<CENTER><STRONG><FONT SIZE=+2>Photo Journals</FONT><BR>
($14.95 each)</STRONG></CENTER><BR>
_____ African Continent<BR>
_____ Asia<BR>
_____ Australia/New Zealand<BR>
_____ Caribbean Islands<BR>
_____ Europe/Greece<BR>
_____ Polynesian Islands<BR>
_____ South America<BR><BR>
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<STRONG><FONT SIZE=+2>Information Packets and Brochures</FONT></STRONG>
<TABLE WIDTH=100% BORDER=0>
<TR>
<TD VALIGN=TOP>
_____ African Continent<BR>
_____ Asia<BR>
_____ Australia/New Zealand<BR>
_____ Caribbean Islands<BR>
_____ Europe/Greece<BR<BR>
</TD>
<TD VALIGN=TOP>
&nbsp;&nbsp;&nbsp;&nbsp;_____ Polynesian Islands<BR>
&nbsp;&nbsp;&nbsp;&nbsp;_____ South America<BR>
&nbsp;&nbsp;&nbsp;&nbsp;_____ Other:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
_________________________________________________________________<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
_________________________________________________________________<BR>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<STRONG><FONT SIZE=+2>Additional information needed or comments:
</FONT></STRONG>
______________________________________________________________________ _________________________________<BR>
______________________________________________________________________ _________________________________<BR>
______________________________________________________________________ _________________________________<BR>
______________________________________________________________________ _________________________________<BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=50%>
<STRONG>
Your Name: ____________________________________<BR><BR>
Address: _______________________________________<BR><BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;_______________________________________<BR> <BR>
Phone Number: _________________________________<BR><BR>
Fax Number: ___________________________________<BR><BR>
</STRONG>
</TD>
<TD VALIGN=TOP WIDTH=50%>
<TABLE BORDER=0 WIDTH=100%>
<TR>
<TD VALIGN=TOP>
<STRONG>
Total Number<BR>of Booklets:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;____<BR><BR>
Total Number<BR>of Photo Journals: ____<BR>
</TD>
<TD VALIGN=TOP ALIGN=RIGHT>
<BR>
(@ $9.95 each) _________<BR><BR><BR>
(@ $14.95 each) _________<BR>
<BR>
<P>Subtotal: _________</P>
<P>Shipping:
<U>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;$3.50</U></P>
<P>TOTAL: _________</P>
</TD>
</TR>
</TABLE>
<BR>
<CENTER><STRONG><EM><FONT SIZE=-1>
*Please make your check payable to Adventure Travel Service.
</FONT></EM></STRONG></CENTER>
</TD>
</TR>
</TABLE>

<BR><BR>
<A HREF="index.html"><IMG SRC="backbutton.gif" BORDER=0></A>
<BR><BR><BR>
</CENTER>
</BODY>
</HTML>


View this page to see it in final form.

When viewing the order form page, if your code has the horizontal form lines set too long or too short, go back to your HTML file and adjust their length accordingly.

You are now finished with your pages and have completed a basic website. Although this site appears to be very simple, it contains the most commonly used code elements. In the next two lessons, you will learn how to embellish this site and convert it to one that uses frames and has some java script elements on it.

In order to see the differences between how this first practice website navigates and the new version of it you are going to create in the next two lessons, create new folders for each lesson and save complete copies of all of the artwork needed for each within them. By doing this, your code for each lesson will be able to find all of the graphics for your pages and you will not accidentally overwrite your old page files with your revised ones.

After you have completed all three lessons, you will be able to refer back to your HTML files and cut and paste the code you need into your own new files and alter them to suit your needs.



















Hosted by www.Geocities.ws

1