Closed
Bug 177955
Opened 23 years ago
Closed 20 years ago
CSS: Can't set DIV width in inline DIVs
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
People
(Reporter: oliver, Assigned: jst)
Details
Attachments
(1 file)
|
1.36 KB,
text/html
|
Details |
Can't set the width of a div that is placed with "diplay: inline"
If you use "display: block", the width is correctly set.
I will attach a testcase
| Reporter | ||
Comment 1•23 years ago
|
||
testcase for bug# 177955
Open the file in Mozilla 1.2b/Phoenix 0.4 and IE6.0 to see the difference
This behavior is correct. The 'width' property does not apply to non-replaced
inline elements. See CSS2 10.3.1 and 10.6.1.
MS Internet Explorer for Windows badly misinterprets 'width' on inline elements
and does the equivalent of changing the 'display' type to 'inline-block', which
is wrong.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 3•23 years ago
|
||
Updated•20 years ago
|
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 50626 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•