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 946 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Until CSS use became prevalent, little could be done to alter the way forms and form elements looked on
the Web. Standardizing text field sizes between PC and Macintosh was a problem because the different
operating systems interpreted character width differently; moreover, the field sizes may vary from browser
to browser.
NOTE NOTE
NOTE NOTE
512
Adding Advanced Design Features Part III
CSS gives the form designer much more flexibility, both to integrate and isolate the form and form elements.
Text fields, for example, can take on a shade of a site??™s background color or adopt the same typeface
used on the page. Similarly, you can draw attention to the form itself by giving it a contrasting background;
this enables you to format lengthy drop-down lists for easy reading.
If you??™re not familiar with CSS in general or, specifically, how it is applied in Dreamweaver, see
Chapter 7.
Encompassing the form
The
tag is a containing element that, like the
tag, is not rendered by default. Both tags,
in fact, can be styled with CSS??”you can even position a form on the page via CSS declarations. Browser
support varies for some of the more esoteric CSS properties applied to the form tag, but more common
attributes such as background color and border are rendered properly in most cases.


Pages:
934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958