Use CSS Validators!
XML depends on style sheets for every detail, so we are in the business of writing them and hence validating them. I ran cethtei.css by the two major ones and was surprised at how much stuff came out. Corrected, they run more quickly, and probably more robustly. The two big ones (and these can be run by posting your stylesheet's url to them) are:
If you used the cethtei.css I dangled out there, or its Howl derivative ("mystyle") or Gawain ("lucidunix.dss"), you will have copied certain flaws that you should probably correct before somebody else copies you:
- enclose multiple-word font names in quotation marks, e.g. "Times New Roman"
- use em's wherever possible (i.e. for fonts and spacing). Technically, an "em" is now the measure of vertical height in a font, not horizontal, and scales with the main font selected. If you don't specify a font size, the browser's default setting will apply. This is generally considered a Good Thing, as people can be presumed to better know what they think looks nice on their machine than you do. Aaaand, it scales.
- Don't specifiy the same element more than once (except when contextually limited or limiting)
Take a look at, and take to heart, this corrected (and still imperfect!) version of cethtei.css (remember: In Netscape, shift+click will force a download of this to disk.)