We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

-moz-margin-end Redirect 1


In left to right (LTR) situations, the -moz-margin-end CSS property specifies the right margin and is synonymous with margin-right. In RTL cases it sets the left margin (same as margin-left).

In Right to Left (RTL) situations -moz-margin-end flips the elements margin without having to specify absolute left or right.

  • Initial value 0
  • Applies to all elements except those with table display types other than table-caption, table, and inline-table
  • Inherited no
  • Percentages refer to width of closest block-level ancestor
  • Media visual
  • Computed value The percentage as specified or the absolute length


-moz-margin-end:  <length>| <percentage>| inherit| auto


Specifies a fixed width.
A percentage with respect to the width of the containing block.


.content { -moz-margin-end: 5% }

.sidebox { -moz-margin-end: 10px }


Not (yet) candidate for specifications.

Browser compatibility

Browser Lowest Version Support of
Internet Explorer --- ---
Firefox (Gecko) 1.0 (1.7) -moz-margin-end
Opera --- ---
Safari (WebKit)

See also

Document Tags and Contributors

Last updated by: Sheppy,