Fieldset grows beyond given width in conjunction with padding style

RESOLVED INVALID

Status

()

Core
Layout: Form Controls
RESOLVED INVALID
15 years ago
15 years ago

People

(Reporter: Joern Janoschek, Unassigned)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
fieldset style="width: 100%; padding: 8px 8px 8px 8px" draws the right border of
the fieldset out of the bounds set by the parent element.
One could argue if it's correct to use px values mixed with percent values,
though...
That's correct rendering for any block, not just fieldset.  You want width:auto
here.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.