Closed
Bug 273878
Opened 20 years ago
Closed 20 years ago
with <span style="width: 50px;"> width information is ignored (in contrast to IE).
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
People
(Reporter: snugels, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0 Using span together with a width property can be a very effective way to set up organised text, without the problems of extremly colspaned tables. Unfortunatly the style width is totally ignored, while it works perfekt in IE. Reproducible: Always Steps to Reproduce: see abouve any span with a style width will do Actual Results: The width is ignored. Expected Results: Interpret the width property if existing
Comment 1•20 years ago
|
||
From the standards: http://www.w3.org/TR/REC-CSS2/visudet.html#Computing_widths_and_margins "10.3.1 Inline, non-replaced elements The 'width' property does not apply." Span is inline. Bug is INVALID. Correct way to get width between inline elements is setting a margin. Like <span style="margin-right:200px">
Summary: with <span style="width: 50px;"> width information is ignored (in contrast to IE). → with <span style="width: 50px;"> width information is ignored (in contrast to IE).
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 34415 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•