padding
英[ˈpædɪŋ] 美[ˈpædɪŋ]
n.Padding; lining; redundant language; nonsense
v. To pad something, to add cushions (the present participle of pad); to walk, to walk lightly
right
英[raɪt] 美[raɪt]
adv. Immediately, right away; to the right, right; appropriately; all the time
adj. Correct; appropriate; right; good, normal
n. right; right; correct, just; right hand
vt. to correct; to straighten; to straighten; to arrange; to compensate
vi. (ships, etc.) to correct, to restore stability
Third person singular: rights Plural: rights Present participle: righting Past tense: righted Past participle: righted
javascript paddingRight attribute syntax
Function: Set the right padding of the element. Defines the space between the element's border and its content.
Syntax: Object.style.paddingRight=auto|length|%
javascript paddingRight attribute example
<html> <head> <style type="text/css"> p { border: thin dotted #FF0000; } </style> <script type="text/javascript"> function changePadding() { document.getElementById("p1").style.paddingRight="2cm"; } </script> </head> <body> <input type="button" onclick="changePadding()" value="Change right padding" /> <p id="p1">This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph. This is a paragraph.</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance