Dear All, I have a problem. Perhaps the answer is rather obvious to someone, but it sure isn't to me! The problem is that I have a couple of stylesheets which validate correctly using the W3 CSS Validator (http://jigsaw.w3.org/css-validator/). When combined with a valid XHTML file, however, they no longer validate! Screen-only stylesheet: http://www.zap.org.au/~john/web/sinorcaish/sinorcaish-screen.css Print-only stylesheet: http://www.zap.org.au/~john/web/sinorcaish/sinorcaish-print.css Sample XHTML page: http://www.zap.org.au/~john/web/sinorcaish/sample.html If you go to the sample page and select the link in the left sidebar for CSS validation, you get the following: Errors ====== URI: http://www.zap.org.au/~john/web/sinorcaish/sinorcaish-print.css Line: 0 Parse Error - : none !important; } .notprinted Line: 0 Parse Error - : 0 0 0.5em 0; } #main .highlight URI: http://www.zap.org.au/~john/web/sinorcaish/sample.html Line: 44 Context: div.nb-htmlsampler-fixup Invalid number: margin-rightinherited is not a margin-right value : inherited The ".notprinted" class is on line 51 of sinorcaish-print.css; the "#main .highlight" definition can be found on line 400. I cannot see why these should suddenly cause a parse error --- the sinorcaish-print.css file is perfectly correct when validated by itself. Thanks for any responses ahead of time! Yours truly, John Zaitseff -- John Zaitseff ,--_|\ The ZAP Group Phone: +61 2 9643 7737 / \ Sydney, Australia E-mail: [EMAIL-REMOVED] \_,--._* http://www.zap.org.au/ Finger: [EMAIL-REMOVED] v GnuPG fingerprint: 8FD2 8962 7768 2546 FE07 DE7C 61A8 4486 C9A6 69B0 ______________________________________________________________________ css-discuss [EMAIL-REMOVED]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/