Closed Bug 18263 Opened 25 years ago Closed 25 years ago

<p align=center>keeps centering after paragraph ends

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 17648

People

(Reporter: akkzilla, Assigned: troy)

References

()

Details

Attachments

(2 files)

lxr centers some of its search instructions, using <P ALIGN=CENTER>

But in Mozilla, the centering is never turned off, even after we leave that
paragraph, so all of lxr's output comes out centered, which makes it much harder
to read.
Attached file test case
Summary: <p align=center>keeps centering after paragraph ends → <p align=center>keeps centering after paragraph ends
This is apparently a quirks mode thing. In 4.6, everything after the <HR> was
left aligned, while mozilla continued centering text. Apparently in 4.x <HR>
causes a </P>. Adding a <P> tag just before the <HR> in the test case makes it
lay out as expected in mozilla. I added an extra <P> to lxr so it should look
normal now.
Attached file test case for FORM tag
The same seems to apply to <FORM> as well. I added <P> to the document after
the form and before the horizontal rule, the links were left aligned
but the word "Menu" inside the text box was centered. Added a new test case.
Re-fixed lxr.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 17648 ***
Status: RESOLVED → VERIFIED
Agreed. Marking as verified dup of 17648.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: