Closed
Bug 153015
Opened 23 years ago
Closed 23 years ago
Image with 'display: block' not tiling correctly in XHTML table
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mozilla_dev, Assigned: attinasi)
Details
Attachments
(2 files)
The enclosed BROKEN.xml file demonstrates a tiling bug using 'display: block' on
an <img> tag. When viewed, the image has dropped down below the frame that
should be enclosing it.
The enclosed WORKAROUND.xml gets around this bug by adding 'valign="bottom"' to
the <td> tag of the column containing the troubled image.
Reporter | ||
Comment 1•23 years ago
|
||
Example of the bug.... When viewed, the red area in the center is where the
image should be.
Reporter | ||
Comment 2•23 years ago
|
||
This version of the XHTML file gets around the bug by adding ' valign="bottom"'
to the <td> tag of the image that is displayed incorrectly.
Comment 3•23 years ago
|
||
-> layout
Assignee: pavlov → attinasi
Component: Image: Layout → Layout
QA Contact: tpreston → petersen
Comment 4•23 years ago
|
||
The anchor element around the image has been left to the default display:
inline;. Setting that one to block as well (as suggested in the FAQ) solves the
problem.
I'm not sure what should happen if you put something with display: block; inside
something with display: inline;, but I suppose this one is INVALID.
Comment 5•23 years ago
|
||
Based on the comments below, marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Priority: -- → P3
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•