mozilla
Your Search Results

    -moz-margin-start Redirect 1

    Summary

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

    In Right to Left (RTL) situations -moz-margin-start 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-start:  <length>| <percentage>| inherit| auto

    Values

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

    Examples

    -moz-margin-start:33%; -webkit-margin-start:33%;

    direction:rtl; -moz-margin-start:33%; -webkit-margin-start:33%;

    Specifications

    Not (yet) candidate for specifications.

    Browser compatibility

    Browser Lowest Version Support of
    Internet Explorer --- ---
    Firefox (Gecko) 1.0 (1.7) -moz-margin-start
    Opera --- ---
    Safari (WebKit) 2.0 (412) -khtml-margin-start
    3.0 (522) -khtml-margin-start | -webkit-margin-start

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,