Closed
Bug 277193
Opened 20 years ago
Closed 20 years ago
Display of image with HREF (<a>-tag) is "shifted"
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: phil_subscriptions, Unassigned)
References
()
Details
Using HTML and CSS2. The following is not displayed properly in Firefox: An <img> tag, contained within a <a> tag, contained within a table, the image with reference is presented partially outside the table cell. This works with IE6.0 I created a test page at http://www.abstruse.be/test/testpage.html to demonstrate and explain the problem.
Updated•20 years ago
|
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: firefox.general → core.layout
Version: 1.0 Branch → Trunk
Comment 1•20 years ago
|
||
Bug 211382 also notes images placed higher when an anchor used
Comment 2•20 years ago
|
||
This is actually the correct rendering -- the <a> is an inline, so it gets space below the baseline for descenders. The bottom of the image is placed on the baseline, and the table cell height is at least the height of the <a> (which does NOT depend on the height of the image per CSS, but DOES depend on it in IE).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•