HTML Kit site requirements.

HTML editor / FAQ
HomeHTML-Kit downloadsAdd-ins that update and extend HTML-Kit's capabilitiesSoftware and authoring support channelsRegister -- download add-ons and support HTML-KitOnline tools for HTML-Kit users
  Translations of this page: in het Nederlands

FAQ

 Home > Support > Frequently Asked Questions > Authoring > How can I spe...
 
 

How can I speed up the process of checking stylesheets using the W3C CSS Validator?

Answer 1. External stylesheets

 W3C CSS Validator
*.css files (or external / stand-alone stylesheets) can be validated by clicking the "W3C CSS Validator" icon on HTML-Kit's "Online" tab. To open an external stylesheet that's linked to the current HTML file, place the cursor on the link tag, right click and select "Open Linked File."

Answer 2. Embedded stylesheets

 W3C CSS Validator - Inline
Additional steps are required to validate style blocks that are embedded in HTML documents, as the current version of the W3C CSS Validator requires a *.css file or a stand-alone stylesheet as input.
  • Copy the CSS code to a new editor window
     
  • Invoke the W3C CSS Validator
The following steps can be used to automate this process and reduce it to a single key press using HTML-Kit's keyboard customization feature:
  1. Select "Tools | Customize | Keyboard Shortcuts" from HTML-Kit's main menu.
     
  2. Click "Add" to create a new shortcut.
     
  3. Press a key combination (such as Ctrl+Shift+F5) or pick one from the list. The new command will be assigned to this key.
     
  4. Click "Menu command," pick "MTagGoToTagSTYLEStart" from the drop-down list and click "Add."
     
  5. Click "Menu command," pick "MSelectTagBlockStyle" from the drop-down list and click "Add."
     
  6. Click "Menu command," pick "MCopy" from the drop-down list and click "Add."
     
  7. Click "Menu command," pick "MNewDocumentClipboard" from the drop-down list and click "Add."
     
  8. Click "Action," pick "Online > W3C CSS Validator" from the drop-down list and click "Add."
     
  9. Click "OK" followed by another "OK" to save the new shortcut.
Now it's possible to validate the main style block in an HTML file by pressing Ctrl+Shift+F5 (or the assigned shortcut).