Skip navigation.

Why Is It Important To Validate Web Pages?All recent postsTrackBacks Welcome

Code Coloring Tool Now Supports CSS

With the latest addition of 3 more languages my online code coloring tool now supports:

  • HTML
  • XHTML
  • XML
  • CSS
  • ASPX
  • C#
  • VB.NET

I consider the code to be in beta, and I need you, guys, to let me know of inaccuracies of code coloring, should you find any. Please send me a cope snip that fails coloration. As I already mentioned the colored code contains no deprecated tags and should validate against any DTD.

A Note About CSS Hacks

So far the most difficult piece of this project has been CSS. Due to the fact that there's a gazillion of different CSS hacks out there it's nearly impossible to write regular expressions that can cover them all. Hence coloring complex hacks is not guaranteed to work since they fuxxor the whole process. The infamous box model hack does work as well as a couple of others.

Comments

No comments yet

Emails and Notifications

Would you like to be notified when somebody responds to this post? 

TrackBacks

Sorry, TrackBacks are not allowed.

Submit your comment

Please enter only text since all HTML tags except hyperlinks will be stripped. Hyperlinks will become live links. Any comments with flaming or offensive language will be deleted. Be courteous to other posters. Thank you.

Your name (required):
Your email (optional):
Your site's URL (optional):
Enter this number
Type in the number above:
Comment (required):