When I try to use the W3C CSS validator on my Week 5/embedded styles assignment, I am getting strange validation errors on codes I am sure are correct. What could the problem be?
It sounds like you are trying to validate an embedded style from your hard drive instead of from an online URI. That version of the CSS validator is looking for CSS styles only. [What it is looking for will become clearer in week 6’s lesson.] Any standard HTML coding will generate errors, even if it is totally correct. To check embedded styles on your pages, either go ahead and upload the page and check the online version, or make a copy of the styles only [no html coding] and paste it into the text area box at the W3C validator. And as always, remember that you will need to check your HTML coding with the HTML validator. Pages using CSS always need to go to both validators and have corrections made before posting to the class message board for review.
Related Questions
- When I try to use the W3C CSS validator on my Week 5/embedded styles assignment, I am getting strange validation errors on codes I am sure are correct. What could the problem be?
- How do I upload images to the server and use them within surveys (within CSS styles for example)?
- Where do I find a validator for CSS styles?