SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 916 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

The top form in the following figure uses preformatted
text to get different-sized form fields to line up properly, whereas the bottom form in the figure uses a table.
Combining different-sized text fields on a single row??”for example, when you??™re asking for a city, state, and
ZIP Code combination??”can make the task of lining up your form even more difficult. Most often, you spend
a fair amount of time in a trial-and-error effort to make the text fields match. Be sure to check your results in
the various browsers as you build your form.
Tables are just the beginning stage in creating a clean, easy-to-read form. For greater control, be sure to read
???Styling Forms with CSS??? later in this chapter.
n Virtual: This option causes text on the screen to wrap when it reaches the right edge of the text
area, but not when the response is submitted to the server; the text is sent as one long string without
hard carriage returns.
n Physical: This option causes text to wrap on the screen and converts the soft returns on the
screen to hard returns when the data is submitted to the server.
The wrap attribute is not supported consistently between browsers or even between different
versions of the same browser. For example, Netscape 6.0 ignores any value of the wrap attribute
and simply never wraps text; whereas Netscape Navigator 4.


Pages:
904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928