Closed Bug 144698 Opened 23 years ago Closed 23 years ago

Wrong text justify

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 15333

People

(Reporter: tonn81, Assigned: Matti)

Details

Attachments

(3 files)

When text is justified, it justified wrong.
Attached file Sample of source
hmm, for me also IE shows the text left-aligned. Which browser displays it block-aligned as in the second attachment for you? I'm no HTML-Expert, but maybe the HTML is not correct here? WinNT 4.0SP6a Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0rc2) Gecko/20020510 IE 6.0.2600
Screenshot with correct alignment was made in Netscape® Communicator 4.79. Both IE and Mozilla do the same mistake with alignment - I just don't know why! But I'm sure there are no discord with HTML. And HTML is OK.
text-align should, and does, only work on the text content of block-level elements: http://www.w3.org/TR/REC-CSS2/text.html#alignment-prop The testcase shows that it has been attached to a font tag, which isn't a block. For the testcase to work as expected you would have to attach the style to the table cell or change the empty font tag to a div. INVALID, but duplicate of bug 15333. *** This bug has been marked as a duplicate of 15333 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: