CSS W3C validation error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
streever

Re: CSS W3C validation error

Post by streever »

It looks like you just need to have the @charset before the CSS comment! Good luck.
streever

Re: CSS W3C validation error

Post by streever »

According to the validator, the only issue is that the @charset is not the first line of text--that is normal, that is an issue. The rest of your styles come up as perfect.

Here is what you can do:

1. Ignore it. It's not really a problem! Validation is a useful tool. Validation is also a good GOAL. However, not all goals are reachable, and if a validation failure on one item doesn't in any way hurt the display/function of your site, then you can safely ignore it.

2. Remove the @charset rule. it's not needed. the cms by default is communicating your charset (utf-8) and there is no reason to specify it again in your CSS file that I can think of.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS W3C validation error

Post by Dr.CSS »

I would look at getting the HTML to validate before I worried about the CSS...

http://validator.w3.org/check?verbose=1 ... ork.com%2F


Result:  260 Errors, 13 warning(s)
Locked

Return to “CMSMS Core”