W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Re: Problem with <HR> tags

From: Graham Coward <coward@alphalink.com.au>
Date: Thu, 3 Jan 2002 09:40:48 +1100
Message-ID: <005601c193e0$11330c00$e769a1ca@grahamcoward>
To: <html-tidy@w3.org>
Thanks Bob and Klaus. That makes sense to me. The W3 Validator doesn't like
it either. Unfortunately there is not much I can do about it except to stop
using GEDPAGE. It generates far too many files to change each one manually
and it works OK with all the major browsers. I might try e-mailing the
developer of GEDPAGE and see what he says.

************************
Graham F Coward
Victoria
Australia
************************

Visit the COWARD Family History Site at www.alphalink.com.au/~coward/

----- Original Message -----
From: "Klaus Johannes Rusch" <KlausRusch@atmedia.net>
To: "Graham Coward" <coward@alphalink.com.au>
Cc: <html-tidy@w3.org>
Sent: Wednesday, January 02, 2002 1:46 AM
Subject: Re: Problem with <HR> tags


> In <001d01c18f8b$59e39e00$636fa1ca@grahamcoward>, "Graham Coward"
<coward@alphalink.com.au> writes:
> > I use a program called GEDPAGE to generate genealogical charts as HTML =
> > pages. When I run TIDY on them I get the following error message and the
=
> > <hr> tags are rendered unintelligible.
> >
> > line 13 column 1 - Warning: unescaped <hr> in pre content
> >
> > Can anyone please tell me why?
>
> <pre> only allows inline content, which <hr> is not:
>
> <!ELEMENT PRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text -->
>
> If the <hr> tags generated by GEDPAGE are just for decoration, i.e.
between two
> preformatted charts, this could be changed to
>
> <pre>
> ...
> </pre>
> <hr />
> <pre>
> ...
> </pre>
>
> Otherwise if <hr> tags are used to draw lines within the charts you would
need
> to replace those with a series dashes -- also more portable than an <hr>,
which
> may be rendered differently by the browser.
>
> --
> Klaus Johannes Rusch
> KlausRusch@atmedia.net
> http://www.atmedia.net/KlausRusch/
>
Received on Wednesday, 2 January 2002 17:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:51 GMT