lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV post 2.7 bug?


From: Foteos Macrides
Subject: Re: LYNX-DEV post 2.7 bug?
Date: Sun, 13 Apr 1997 11:22:42 -0500 (EST)

"T.E.Dickey" <address@hidden> wrote:
>I've noticed a formatting glitch which came up around the 2.7 release.  I've
>a few pages that do
>
>       before<P><UL>after
>
>and the "after" string isn't indented as the lines following it.  Is this
>intentional, or a bug?

        UL and OL blocks can have only LH (list header) and LI (list item)
elements, and their LH and LI elements (implied blocks, i.e., we don't
require end tags for them, but are implied by another LI start tag or
the UL or OL end tag) in turn can have other elements.  So your example
is invalid HTML.  If should be:

        before<P><UL><LH>header <LI>list item ...

or:

        before<P><UL><LI>list item ...

        UL and OL blocks have a lesser left indentation for the first
line than the second and subsequent lines in LH or LI elements.  An
LH differs from an LI in that the former does not begin with a bullet
in ULs or a number or letter (depending on the TYPE attribute) in OLs.
If you don't use either an LH or LI, as in your example, the "after"
line(s) will be treated as if it(they) is(are) in an LH, except that
the first line will start one space too far to the left.  The actual
positions of the "first" and "subsequent" line indentations for LH
and LI elements depend on whether their container UL or OL is
nested, and how deeply.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]