Your Search Results

    -moz-padding-start

    « CSS « CSS Reference « Mozilla Extensions

    Summary

    -moz-padding-start specifies the logical start padding for an element. The computed value of the element's direction property then determines how the padding is translated to a physical padding. If the computed direction is left-to-right ("ltr") then -moz-padding-start sets the left padding; otherwise it sets the right padding.

    See also -moz-padding-end

    • Initial value: 0
    • Applies to: all elements except table-row-group, table-header-group, table-footer-group, table-row, table-column-group and table-column
    • 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-padding-start: <length> | <percentage> | inherit | auto;
    

    Values

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

    Examples

    View Live Examples

      .content {
        -moz-padding-start: 5%;
      }
    
      .sidebox {
        -moz-padding-start: 10px;
      } 
    

    Notes

    Specifications

    Not yet candidate for Specifications

    CSS 3 Writing Modes

    Browser Compatibility

    Browser Lowest version
    Internet Explorer --
    Firefox (Gecko)  Firefox 3 (1.9) (-moz-padding-start)
    Opera --

    Safari | Chrome | WebKit

    3 | 2 | 528.17 (-webkit-padding-start)

    See also

    Padding-related properties: padding, padding-top, padding-right, padding-bottom, padding-left, border, margin

    Document Tags and Contributors

    Contributors to this page: Sheppy, Fredchat, BijuGC, Mgjbot, Lech, DBaron, nimbupani, Bzbarsky
    Last updated by: Sheppy,