(^368) Chapter 9 XHTML Forms
Figure 9.17
A table was used to
format this form
A table with five rows and two columns was added to the page in Figure 9.17, within
the
Phone:form elements were each placed in their own table cell and right-aligned. Each
text box and button was placed in its own table cell. The scrolling text box was placed
in a table cell that spans two columns. (See Chapter 8 to review tables.) The table was
configured to have no border and to take up 75 percent of the browser window. The
first column was configured to take up 10 percent of the table width. The revised
XHTML for the form and table is shown here with the table code in color. Notice that
since a table is used to format the form, fewer
tags are needed.