Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact Us Request to publish your help manuals Request to remove your help manuals
Introduction
» Getting Started
» Validating Local Documents
» Using the Batch Wizard
» Things You Should Know
» About CSE HTML Validator
Batch Wizard
» Batch Wizard
» Batch Wizard Options
» General Tab
» Reporting Tabs
» Links Tab
» Target List File Format
» Target List Options Tab
» Target Properties Dialog Box
» Tips & Troubleshooting
How To...
» Add Actions in Windows Explorer
» Backup Options
» Change Validation Sounds
» Check Links
» Disable Validator Messages
» Format & Fix HTML Automatically
» Ignore CSS Properties & Part of Document
» Open a Document
» Print or Email Validation Report
» Transfer or Move License
» Uninstall CSE HTML Validator
» Use & Configure Text Inserters
» Using Template Tool
» Validate Document
» Validate URL & Entire Website
» Validate Document using Server Side Scripting
» Validate to W3C Standards
Integrated HTML Editor
» Integrated HTML Editor
» Editor Options
» Results Window
» Drag & Drop Default Tool Select Dialog Box
» Find/Replace Dialog Boxes
» Integrated Web Browser
» Tools
» HTML Tidy Tool
Validator Engine
» Configuration Editor
» Validator Engine Options
Reference
» Configuration File
» Flag Descriptions
» Command Line Arguments
» External Links
» Format Picture Strings
» Installation
» Program Limitations
» Keyboard Shortcut Quick Reference Guide
» Spell Checker
» Tag Name Programming Language
» Validator Messages
» Why Validate?
Order & Support Information
» Ordering Information
» Support
» Tips for Using HTML Validator
 

Ignore CSS Properties & Part of Document

Ignore CSS Properties (Pro Pro, Std Std, Lite Lite)

If there is a CSS property that you want to ignore, then you can program CSE HTML Validator to ignore it if you are using the professional edition (New v8.0).

For example, let's say you want to ignore a CSS property named "ignore-this". To tell CSE HTML Validator to ignore this proprty, follow these steps:

  1. Go to Options->Configuration Editor->Programs tab.
  2. Select the Functions radio button
  3. Find the onUnknownCSSPropertyMessage() function (or create one if it doesn't exist--but the function should exist if you are using a v8.0 configuration file).
  4. Add the following code:
    if (matchNoCase($oucpm_property,"ignore-this")) {
    #oucpm_msgflags=0;
    setValueString(12,$oucpm_property);
    }
  5. If you want to add more CSS properties to ignore, then simply 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")
  6. Use Save Config As to save the configuration file with the new changes to a new filename so it is not overwritten at the next update. Set CSE HTML Validator to use this new configuration file as the default configuration in the Validator Engine Options. You may be asked to set this automatically when you save the configuration file.

You can also display your own message when an unknown CSS property is encountered. See the Special Functions section of the Tag Name Programming Language topic for more information about the onUnknownCSSPropertyMessage() function.

flash drive repair reset password Free keystroke recorder
hack email password freeware Keylogger drive repair
ipod reset data recovery tools email password cracking

Ignore Part of a Document (Pro Pro, Std Std, Lite Lite)

There are some cases where you may want CSE HTML Validator to ignore, exclude, or bypass part of a document. For example, some sites (such as affiliate sites) give you bad HTML to insert into your documents, but you don't want to change or fix it because you'd rather just ignore it and leave it as it is.

To address this issue, CSE HTML Validator provides the "cseignore" element. Simply surround the part of the document you want to ignore in "cseignore" tags. Example: <cseignore>...ignore this...</cseignore>

For better compatibility with other syntax checkers and validators, <!--cseignore--> (case sensitive) can be used to simulate a <cseignore> start tag and <!--/cseignore--> (case sensitive) can be used to simulate a </cseignore> end tag. (New v8.04)

NOTE: The "cseignore" element is included with the default configuration file. Using another configuration file may mean that the "cseignore" element is not supported.

NOTE: The "cseignore" element only works with CSE HTML Validator's own validation engine. This element is not recognized by HTML Tidy or nsgmls which may be optionally enabled (but are not enabled by default).

Home | Contact Us | Request to publish your help manuals | Request to remove your help manuals