(^374) Chapter 9 XHTML Forms
Table 9.12Common attributes of the
As you visit Web pages and look at their source code, you will find that the
element is not used as often as the standard submit button or the image button.
9.4Using CSS to Style a Form
Many Web developers cruise along using CSS for page layout until they need to code a
form. Tables (usually avoided when coding CSS page layouts) are traditionally used to
configure forms. This section will show you two approaches to using CSS to style a
form—the first uses a table whose attributes have been configured with CSS instead of
with XHTML, the second does not use an XHTML table.
Figure 9.21 shows a form that has an image (signup.gif) configured as a submit button
using the <button>element.