Ignore CSS Properties (tick_24Pro, cross_24Std, cross_24Lite)

If there is a CSS property that you want to ignore, then you can tell CSE HTML Validator to ignore it if you are using the professional or enterprise edition.

The easiest way may be to use the special ignore comments described in the Ignore Parts of a Document topic, but if that method is not suitable for your needs then you can create (if you don't have one already) a 'user functions' file and specify it in the Config Files Page in the Validator Engine Options.

In the user functions file, create this function (or add the code to the function if it already exists in an already existing user functions file):

function onUnknownCSSPropertyMessage() {
 if matchNoCase($oucpm_property,"ignore-this") {
  $oucpm_msgflags=0;
  setValueString(12,$oucpm_property);
 }

If you want to add more CSS properties to ignore, then add them to the end of the parameters of the matchNoCase() function, separating each string with a comma. Example: matchNoCase($oucpm_property,"ignore-this","ignore-this-too")

You can also display your own message when an unknown CSS property is encountered. See the onUnknownCSSPropertyMessage() topic for more information.

hmtoggle_plus1Alternate Method (an older method which is not recommended)