- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello
I am having an issue with styling the error message of my contact form on my site. Everything looks fine except the error message, which I want to be in white text but it stays blue.
My page is bankruptcycanada.com/free-confidential-evaluation.php and if you, for example, put in an incorrectly formatted email address will bring up the error message when trying to submit the form. The error message is:
The following corrections are required:
Please provide a valid email address.
The “The following corrections are required:” text is coded in white, which is proper however the “Please provide a valid email address.” text remains in blue and should be white.
My CSS file is located at bankruptcycanada.com/css/desktop.css
I would appreciate some feedback. Thanks in advance.
I suggest you use Developer Tools that come pre-baked into every modern browser to ‘inspect’ that text and see where the styles are originating.
Thanks for the follow up Paulie. I know which style is used but the style is not taking. I must be overwriting something through the cascade of Cascading Style Sheets?
I know which style is used but the style is not taking. I must be overwriting something through the cascade of Cascading Style Sheets?
Yes, and inspect element will allow you to see what setting is doing that.
My page is bankruptcycanada.com/free-confidential-evaluation.php and if you, for example, put in an incorrectly formatted email address will bring up the error message when trying to submit the form.
URL returns a 404 error.