-moz-margin-end

This article is in need of a technical review.

Summary

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

Syntax

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

Values

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

Examples

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

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

Specifications

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)
3.0
-webkit-margin-end

See also

Document Tags and Contributors

Last updated by: Delapouite,