Closed
Bug 148170
Opened 22 years ago
Closed 22 years ago
CSS1 'width' not fully supported
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mangala, Assigned: attinasi)
Details
Attachments
(1 file)
391 bytes,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc3) Gecko/20020523 BuildID: 20020523 When box attributes including 'width' are applied to a TD element, the width displays correctly. However, when box attributes including 'width' are applied to an A (anchor) element or plain text, the width does not display correctly. The property should apply to text elements (http://www.w3.org/TR/REC-CSS1#width). The sample below displays correctly in IE 5.5. Reproducible: Always Steps to Reproduce: 1. Assign a value for the 'width' attribute and apply it to an anchor or text element. Sample html below illustrates the problem: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> </head> <body TEXT="000000" BGCOLOR="FFFFFF"> <table> <tr> <td STYLE="width: 250px; border: 1px solid black">Table cell</td> </tr> </table> <br> <span style="width: 250px; border: 1px solid maroon">Not a table</span> <br> </body> </html>
Reporter | ||
Comment 1•22 years ago
|
||
Updated•22 years ago
|
QA Contact: petersen → amar
Comment 2•22 years ago
|
||
Quoting from the URL you cite: Applies to: block-level and replaced elements Since <a> is an non-replaced inline element, "width" does not apply to it. IE is just buggy.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•