Next: , Previous: , Up: The programmer’s perspective   [Contents][Index]


3.6 Debugging the text styling support

If you want to understand which output of your program is associated with which CSS classes, the simplest way is as follows:

  1. Run the program with the command-line option --color=html, redirecting the output to a file.
  2. Then inspect this output. Text regions associated with a CSS class are surrounded by <span class="css-class">...</span>.