Closed Bug 278723 Opened 20 years ago Closed 20 years ago

css width is not honored for all elements (specifically the span element, in this case)

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 34415

People

(Reporter: jzwolak, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

<html><body>left<span style="width:100px;">100px</span>right</body></html> does
not change the width of the span.  "right" and "left" will be next to "100px"
with no space between any of them.

Reproducible: Always
http://www.w3.org/TR/REC-CSS1#width
> Applies to: block-level and replaced elements

Span element is not a "block-level" nor "replaced",
by default.

I'm not sure, but this bug would be INVALID.
Yes, only block elements can have width/height --> INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---

*** This bug has been marked as a duplicate of 34415 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.