files/en-us/web/css/reference/properties/-moz-float-edge/index.md
{{Non-standard_header}}{{Deprecated_Header}}
The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness.
/* Keyword values */
-moz-float-edge: content-box;
-moz-float-edge: margin-box;
/* Global values */
-moz-float-edge: inherit;
-moz-float-edge: initial;
-moz-float-edge: unset;
content-box
margin-box
{{CSSInfo}}
{{CSSSyntaxRaw(-moz-float-edge = content-box | margin-box)}}
<div class="box">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
.box {
display: block;
height: 5px;
margin: 0.5em auto;
color: gray;
-moz-float-edge: margin-box;
box-sizing: border-box;
}
{{ EmbedLiveSample('Examples') }}
Not part of any standard.
{{Compat}}