Closed
Bug 18263
Opened 25 years ago
Closed 25 years ago
<p align=center>keeps centering after paragraph ends
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
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.
Comment 1•25 years ago
|
||
Updated•25 years ago
|
Summary: <p align=center>keeps centering after paragraph ends → <p align=center>keeps centering after paragraph ends
Comment 2•25 years ago
|
||
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.
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
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 ***
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•25 years ago
|
||
Agreed. Marking as verified dup of 17648.
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•