CSS Validation

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/20/2009 1:14:35 PM
Gravatar
Total Posts 14

CSS Validation

I have been creating a custom skin for a site and after I thought I was almost done, clicked on the CSS link in the footer. Errors were found.

I tried a clean install of 2.2.8.2-b on Windows 2003 Server and brought up the default site with the default skin.  The same errors were found.

I clicked on the CSS link at the bottom of the main mojoPortal site and the same errors were found.

*********************************

1 .mpcalendarmain Value Error : padding only 0 can be a length. you must put an unit after your number : 3
1 #ibox_w Parse Error opacity=0)
1 #ibox_w Property -moz-opacity doesn't exist : 0.0
1 #ibox_w Property opacity doesn't exist in CSS level 2.1 but exists in [css3] : 0.0

********************************

I disabled minify and caching of css, added "px" after 3 in mpdatacalendar.css

I commented out all the opacity info in ibox.css

This took care of the errors, but I haven't yet taken the time to see exactly what was affected.

Joe, can you easily tell, off the top of your head, if I broke anything major?

I just don't like to keep CSS Validation links if an uninformed user might actually click on them and see errors.

Thanks!

1/20/2009 1:33:37 PM
Gravatar
Total Posts 18444

Re: CSS Validation

Hi,

No, it won't break anything, the ibox transitions may not look quite as groovy. iBox is used for the help links and for the image gallery.

opacity while not valid css does work in all major browsers.

Nevertheless, I agree it would be better to have it pass the validator, its not really a major difference even in ibox.

I will make the same css changes here so it will be corrected in the next release.

I recommend re-enable minify and caching of css.

Best,

Joe

1/20/2009 1:45:17 PM
Gravatar
Total Posts 14

Re: CSS Validation

Hey; thanks again!!!!

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