HOWTO: Set Validation Summary Message Display Color

  • Thread starter Thread starter Dan Sikorsky
  • Start date Start date
D

Dan Sikorsky

Even though the documentation says the default color of the validation
summary message display color is red, my color is showing black. I've even
set the ForeColor attribute in the asp:validationsummary tag to red, but it
still shows black. How can I resolve this?
 
Solution:

The .css file declared the Unordered List tag, which is how the validation
messages are displayed, to have a default style. By removing this from the
..css file, the forecolor is now Red.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top