CSS Validation errors

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.
Post Reply
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

CSS Validation errors

Post by cnymike »

I was checking CSS validation on a test site today and the report showed these errors. Comments?

URI : http://www.not-a-sex-site.com/cnymike/p ... plateid=22
310 Parse Error - : 26%; display: inline; margin-left: 0; } this is the end of the menu line break fix */ div#sidebar.hascontent
432 code, pre Value Error : white-space -moz-pre-wrap is not a white-space value : -moz-pre-wrap
433 code, pre Value Error : white-space -pre-wrap is not a white-space value : -pre-wrap
434 code, pre Value Error : white-space -o-pre-wrap is not a white-space value : -o-pre-wrap
435 code, pre Property word-wrap doesn't exist : break-word

URI : http://www.not-a-sex-site.com/cnymike/p ... ype=screen
430 #primary-nav li, #primary-nav li.menuparenth Property _float doesn't exist : left
430 #primary-nav li, #primary-nav li.menuparenth Property _height doesn't exist : 1%
431 #primary-nav li a Property _height doesn't exist : 1%
Last edited by cnymike on Sat Jan 19, 2008 2:31 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Validation errors

Post by Dr.CSS »

I don't know about the top ones but the bottom ones are the IE hacks documented in the Menu CSS saying they will make the CSS not validate...

I'm thinking there should be a new Style Sheet type for IE6 that has a if IE call like the CSS menu JS for IE has...
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: CSS Validation errors

Post by cnymike »

Turns out that the CSS style sheet has a comment that states that the CSS will not validate. Arrrgh.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSS Validation errors

Post by Dr.CSS »

If you are real concerned about it you might try calling a separate stylesheet just for IE out of you root or uploads or etc...

You can use the if statement like the one for the CSS drop down menu IE JS...


add the CSS call here instead
Post Reply

Return to “CMSMS Core”