|
Dreamweaver CS4 Resources |
Customize the Radio Group widgetAlthough the Property inspector enables you to make simple edits to a Validation Radio Group widget, it does not support customized styling tasks. You can alter the CSS for the Validation Radio Group widget so that you can create a widget that is styled to your liking. For a more advanced list of styling tasks, see www.adobe.com/go/learn_dw_spryradio_custom_en. All CSS rules in the topics below refer to the default rules located in the SpryValidationRadio.css file. Dreamweaver saves the SpryValidationRadio.css file in the SpryAssets folder of your site whenever you create a Spry Validation Radio Group widget. Consulting this file is helpful because it contains commented information about various styles that apply to the widget. Although you can easily edit rules for the Validation
Radio Group widget directly in the accompanying CSS file, you can
also use the CSS Styles panel to edit the widget’s CSS. The CSS
Styles panel is helpful for locating the CSS classes assigned to different
parts of the widget, especially if you use the panel’s Current mode.Style a Validation Radio Group widget (general instructions)
The SpryValidationRadio.css file contains extensive comments, explaining the code and the purpose for certain rules. For further information, see the comments in the file. Style Validation Radio Group widget error message textBy default, error messages for the Validation Radio Group widget appear in red with a 1-pixel solid border surrounding the text. To change the text styling of Validation Radio Group
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.
|