Visit Mozilla.org

CSS:-moz-margin-end

From MDC

« CSS Reference « CSS Reference:Mozilla Extensions

[edit] Summary

In left to right (LTR) situations, the -moz-margin-end 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-start flips the elements margin without having to specify absolute left or right.

[edit] Syntax

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

[edit] Values

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

[edit] Examples

View Live Examples

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

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

[edit] Notes

[edit] Specifications

Not yet candidate for Specifications

[edit] See also

margin, margin-bottom, margin-left, margin-right, margin-top , -moz-margin-start, -moz-margin-end, border, padding