- From: Jeff Hennick <JHennick@mindspring.com>
- Date: Sun, 03 Mar 2002 15:55:18 -0500
- To: html-tidy@w3.org
"Graham Coward" <coward@alphalink.com.au> wrote about not being able to use
<hr> inside <pre> without TIDY complaining.
TIDY is, of course, right here.
Graham, try a slight change to your HTML using <style> .
Add this to the <head>-section:
<style type="text/css">
<!--
.ms{font-family: monospace}
-->
</style>
Then change the <pre> to <div class="ms">, and the </pre> to </div>. It
now works, is legal HTML, and TIDY says so.
If your generator program won't do it, a simple filter program should be
able to "fix" your files in bulk.
Jeff Hennick
Received on Sunday, 3 March 2002 15:58:25 UTC