Copy link to clipboard
Copied
A couple days ago I started working on this HTML page with a contact form. And to make things more visually appealing, I'm using CSS rules to style my form, page, etc. However, I ran into an issue that I can't seem to get around. For some reason, while working on the stylesheet for my contact form, all of the rules / styles that I'm adding (after the formWrap I've applied) aren't taking effect. My stylesheet is properly linked, there's no error in my code, and I doubt that I've got an issue with caching (unless I'm wrong). At one point, I was wondering if the div tags I had created were the issue but I don't think that's the case either. Any form of help / advice would be greatly appreciated.
Copy link to clipboard
Copied
Unless we can see the code and css its just a guessing game. Is there any mal-formed/unclosed css selectors in your stylesheet stopping the css cascade?
Is it possible for you to paste the form code and the css here in the forum or better still upload the page to a remote server and provide a link. Someone will be able to solve your issue.
Copy link to clipboard
Copied
What's the URL to your online problem page?
Answers are in your code.
Some things to try:
Copy link to clipboard
Copied
If styles aren't working in Dreamweaver with Live View, that means they're not working anywhere.
You either have a coding problem or your style rules are being overridden by other CSS rules with higher specificity.
Cascading styles cascade downwards.
We'll need to see your code to offer better answers.
Copy link to clipboard
Copied
Validate code with these online services:
HTML: https://validator.w3.org/
CSS: https://jigsaw.w3.org/css-validator/