Closed Bug 702147 Opened 15 years ago Closed 15 years ago

The "J" letter is display wrong

Categories

(Firefox :: General, defect)

11 Branch
x86_64
Linux
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: brainstream, Unassigned)

Details

Attachments

(1 file)

578 bytes, image/png
Details
The "J" letter intersect the table border (see attachment) in the following code: <table border='1' cellpadding='0' style='border-collapse: collapse;'> <tr> <td>Jhon</td> </tr> </table>
Attached image demo —
It looks like you're using a font where the "J" projects to the left of its origin, so this is expected; the cell size (and hence the border) is dependent on the typographical width of the text, not its "ink" area, which may extend beyond the typographic bounds. (You'll probably see a similar effect at both the left and right edges if you use "font-family:serif;font-style:italic" and the text "ffff" in the cell, as italic "f" glyphs often project in both directions.) In general, it's not a good idea to design with borders that "touch" the edges of the text; some padding between text and border will almost always look better.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: