lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev Header alignment within DIV


From: David Henderson
Subject: lynx-dev Header alignment within DIV
Date: Sat, 6 Jun 1998 23:02:57 -0500 (CDT)

There's something I just noticed on a copy of Lynx 2.7 (yes, I know,
"upgrade to 2.8") that I wanted to know if it was intentional and if it
still occurs in 2.8 and/or 2.8.1beta##.

Typically, this code fragment:

____________________________
|<H2>test-h2</H2>
|<H3>test-h3</H3>
|<H4>test-h4</H4>
|<H5>test-h5</H5>
|<P>test-p</P>

will be rendered:

____________________________
|test-h2
|
|  test-h3
|
|    test-h4
|
|      test-h5
|
|   test-p

Yet, it this HTML fragment is enclosed in <DIV CLASS="fancy">...</DIV>,
to add some special formatting to CSS-capable browsers, the rendering in
Lynx 2.7 changes to:

____________________________
|test-h2
|
|test-h3
|
|test-h4
|
|test-h5
|
|   test-p

What I imagine is happening is that Lynx infers a ALIGN="left" attribute
within the <DIV> tag, and is applying that to all elements within the DIV.
I believe this is in error.

So, going back to the beginning,
(1) is this intentional?
(2) does this still happen in 2.8 and/or 2.8.1beta##?
(3) is there a programmatic way to stop this?

Thanks,
David Henderson
--
Star Trek?  Psi Phi!  Visit http://www.psiphi.org/ for the latest news
and rumors about "Star Trek: Deep Space Nine" and "Star Trek: Voyager"
----------------------------------------------------------------------
<*> davidh at psiphi.org, davidh at imsa.edu, davidh at cyberdesic.com

reply via email to

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