#iwmf div, #iwmf span Value Error : background-color none is not a color value : none

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
1/10/2010 6:36:54 PM
Gravatar
Total Posts 14

#iwmf div, #iwmf span Value Error : background-color none is not a color value : none

Wondering where these are coming from when I click on the CSS validation link on a site upgraded to 2.3.3.2. Thought it was my custom skin, but saw it on the mojoportal.com site as well

1/11/2010 5:49:32 AM
Gravatar
Total Posts 18439

Re: #iwmf div, #iwmf span Value Error : background-color none is not a color value : none

Hi,

That is coming from Oomph, which has style included from style.config. I will fix that one because background-color:none; really is not valid.

However, there are other things that the validator doesn't like, some CSS 3 (which is not yet a standard) and some vendor specific stuff like -moz and -webkit. These things are useful and work even if they are not technically valid. I think I'm going to disable the css validator link by default going forward because it is really a tool to help find real problems in CSS not a merit badge and the fact that we don't validate 100% is more a condition of the times and technology than something to be seen as a failure. We use what is useful and works and would only be held back by trying to always validate 100%.

The new File Manager UI for example uses some CSS 3 and vendor specific stuff as does the new admin toolbar implemented in the included skins.

However, you have complete control over what css is used, if you want to leave out Oomph or any of the css we include by default in style.config you are free to remove it or change it if 100% CSS validation is a requirement for a given project.

For more info see The Great CSS 3 Validation Debate.

Best,

Joe

1/11/2010 2:55:47 PM
Gravatar
Total Posts 18439

Re: #iwmf div, #iwmf span Value Error : background-color none is not a color value : none

fyi, I moved the IE hacks like zoom into the IE specific css files and fixed the few real css errors, so now the only things the validator doesn't like are a few browser specific css items. But, other browsers ignore those things so it is really not a problem and enhances the UI in the specific browsers.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.