11
Save your changes to the file and then go to the rb_validate.css file in your editor to add
validation styles for the web form.
12
Within the Validation Styles section, add the following style rules:
a. A rule that displays input, select, and textarea elements that have the focus with a
background color of rgb(255, 255, 180).
b. A rule that displays the nameBox and phoneBox controls that have the focus and contain
valid data with a background color of rgb(220, 255, 220) and the background image file
rb_okay.png at the right with no tiling contained within the background.
c. A rule that displays the nameBox and phoneBox controls that have the focus and invalid data
with a background color of rgb(255, 230, 230) and the background image file rb_warning.png
at the right with no tiling contained within the background.