Adobe Dreamweaver CS3 Manuale Utente Pagina 479

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 478
DREAMWEAVER CS3
User Guide
472
Style Validation Text Area widget error message text
By default, error messages for the Validation Text Area widget appear in red with a 1-pixel border surrounding the text.
To change the text styling of Validation Text Area widget error messages, use the following table to locate the
appropriate CSS rule, and then change the default properties, or add your own text styling properties and values:
Change Validation Text Area widget background colors
To change the background colors of the Validation Text Area widget in various states, use the following table to
locate the appropriate CSS rule, and then change the default background color values:
Working with the Validation Select widget
About the Validation Select widget
A Spry Validation Select widget is a drop-down menu that displays valid or invalid states when the user makes a
selection. For example, you can insert a Validation Select widget that contains a list of states, grouped into different
sections and divided by horizontal lines. If the user accidentally selects one of the divider lines as opposed to one of
the states, the Validation Select widget returns a message to the user stating that their selection is invalid.
The following example shows an expanded Validation Select widget, as well as the collapsed form of the widget in
various states:
Text to change Relevant CSS rule Relevant properties to change
Error message text .textareaRequiredState .textareaRe-
quiredMsg, .textareaMinCharsState
.textareaMinCharsMsg, .textar-
eaMaxCharsState .textareaMax-
CharsMsg
color: #CC3333; border: 1px solid
#CC3333;
Background color to change Relevant CSS rule Relevant property to change
Background color of widget in valid
state
.textareaValidState textarea,
textarea.textareaValidState
background-color: #B8F5B1;
Background color of widget in
invalid state
textarea.textareaRequiredState,
.textareaRequiredState textarea,
textarea.textareaMinCharsState,
.textareaMinCharsState textarea,
textarea.textareaMaxCharsState,
.textareaMaxCharsState textarea
background-color: #FF9F9F;
Background color of widget in focus .textareaFocusState textarea,
textarea.textareaFocusState
background-color: #FFFFCC;
September 4, 2007
Vedere la pagina 478
1 2 ... 474 475 476 477 478 479 480 481 482 483 484 ... 737 738

Commenti su questo manuale

Nessun commento