Closed
Bug 126579
Opened 23 years ago
Closed 23 years ago
height of tr td or image not properly displayed using CSS
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: gmittendorfer, Assigned: attinasi)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 BuildID: 2002020415 The following should display a single black table row with one pixel height (black line). This works for opera and konqueror (for netscape 4.x only if the td and img tags are written in one line). <tr style="background: #000000"> <td><img src="img/black.png" height="1" width="1" alt="" /></td> </tr> Reproducible: Always Steps to Reproduce: 1.following code (e.g.) has to be present: <tr style="background: #000000"> <td><img src="img/black.png" height="1" width="1" alt="" /></td> </tr> 2. open the page 3. voila Actual Results: mozilla displays a thick (approx 15 pixels) black line Expected Results: display a black line with 1 pixel heigth <tr style="background: #000000"> <td><img src="img/black.png" height="1" width="1" alt="" /></td> </tr> the pixel is necessary for some browsers that don't understand CSS (as e.g. netscape 4.x who leaves this line empty instead). A workaround would be <tr background="#000000"> but that is not valid strict XHTML.
Reporter, this problem is described in http://developer.netscape.com/evangelism/docs/articles/img-table/. Pundits say that Mozilla in this case behaves according to specs, and that the code must be corrected (or the headers changed so that Mozilla uses the "quirks" mode). Pls mark duplicate of bug 22274.
Comment 3•23 years ago
|
||
This is a dupe of Bug# 22274 and is marked as invalid. Reporter please refer to 22274 for details *** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•