W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 1999

display problem with HR inside H2

From: Adam Ambrose <Adam_Ambrose@geoworks.com>
Date: Wed, 08 Dec 1999 11:01:59 -0800
Message-ID: <384EAB27.36D3D35D@geoworks.com>
To: www-amaya@w3.org
When the <HR> tag is inside a <H2> tag, as in the following:

<H2><HR ALIGN="CENTER">
<A NAME="Overview"></A>Overview</H2>

...Amaya will display the HR "stretched" vertically, and will also leave
off the first letter of the H2 text (in this case, the "O").

While I dislike this code, it seems to be consistently produced by the
VisualPage editor, which is popular with at least one other developer
here (and yes, I'm trying to get him to use Amaya!).  It also seems to
produce HRs that are "flush" to the top of the header in some browsers
(Netscape).  If the HR is outside the H2, there seems to be a gap
between the HR and the header, so it seems like it actually has some use
(although I don't know if this is according to the HTML spec).

-Adam Ambrose
Received on Wednesday, 8 December 1999 14:01:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:29 UTC