-moz-padding-end property
Specifies the space between an element's left or right border and its contents, depending on the writing direction.
If the writing direction is set to left-to-right, use the padding-right property, else use the padding-left property for cross-browser compatibility.
Note: Safari and Google Chrome do not support a property named '-webkit-padding-end', but support the -webkit-padding-start property.
JavaScript page for this property: MozPaddingEnd. You can find other example(s) there. |
Possible values:
One of the following values:
Takes the value of this property from the computed style of the parent element. | |||||||
The space in length units. For the supported length units, see the length page. | |||||||
The space is the specified percentage of the width of the parent element. |
Default: 0.
Example HTML code 1:
This example illustrates the use of the -moz-padding-end property:
|
||||
<head> <style> .ltr { direction: ltr; border: 2px solid red; -moz-padding-end : 20px; } .rtl { direction: rtl; border: 2px solid red; -moz-padding-end : 20px; } </style> </head> <body> <a class="ltr">padding-end: 20px (ltr)</a> <br /><br /> <a class="rtl">padding-end: 20px (rtl)</a> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, applet, b, bdo, big, blink, blockQuote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldSet, font, form, H1, H2, H3, H4, H5, H6, hr, html, i, iframe, img, input:button, input:checkbox, input:file, input:image, input:password, input:radio, input:reset, input:submit, input:text, ins, isIndex, kbd, label, legend, li, marquee, menu, object, ol, p, pre, s, samp, select, small, span, strike, strong, sub, sup, table, tBody, td, textArea, tFoot, th, tHead, tr, tt, u, ul, var
Related pages:
External links:
User Contributed Comments