[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Re: formatting funny (<pre> in <li>)
From: |
Hiram Lester, Jr. |
Subject: |
LYNX-DEV Re: formatting funny (<pre> in <li>) |
Date: |
Fri, 16 May 1997 02:20:10 -0500 (CDT) |
On 15 May 1997, Dave Love wrote:
> This is with Lynx 2.7.1 (on an x86 GNU system).
>
> <pre> elements in list items cause a spurious outdent of the following
> line. (Sorry I don't have time to try to figure this out.)
>
> Example HTML:
>
> <html>
> <head>
> <title>foo</title>
> </head>
> <body>
> <ul>
> <li>a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
> a a a aa a a a a a a a a a a a a a a a a a a a a a a a a a a a
> <pre>
> foo bar
> </pre>
> a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
> a a a aa a a a a a a a a a a a a a a a a a a a a a a a a a a a
> </ul>
> </body>
> </html>
>
> Example formatting:
>
>
> foo
>
> * a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
> a a aa a a a a a a a a a a a a a a a a a a a a a a a a a a a
>
> foo bar
> a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
> aa a a a a a a a a a a a a a a a a a a a a a a a a a a a
Well, my first response to this was that PRE should not appear in an LI,
but I ran the document through a validator and it is valid HTML 3.2. I
then verified by looking at the webified DTD that Webtechs has available,
and LI is indeed listed as a parent element for PRE. Hmm...
+------------------------------------+-------------------------------+
| Hiram W. Lester, Jr. | E-Mail: address@hidden |
| Computer Science | Home page: |
| Middle Tennessee State University | http://pobox.com/~hwlester/ |
+------------------------------------+-------------------------------+
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV Re: formatting funny (<pre> in <li>),
Hiram Lester, Jr. <=