Checkbox and radio button layout defaults
To provide better consistency with other browsers, the default values for a number of layout properties have changed for checkbox and radio button controls in IE11 edge mode.
The default values for margin, padding, and box-sizing are being updated for the checkbox and radio button input types in IE11 mode.
-
The default padding is now 0px.
-
The default margin is now 3px, except for marginLeft which is now 4px.
-
box-sizing is set to "border-box".
For older document modes, the previous defaults are used.
Affected webpages should use CSS rules to override the default values:
input[type="checkbox"], input[type="radio'] {
box-sizing: content-box;
margin: 0;
padding: 3px;
}
Show: