css padding-right property


  Translation results:

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

css padding-right propertysyntax

Function: Set the right inner margin (blank) of the element.

Description: This attribute sets the width of the right padding of the element. Right padding set on inline, non-replaced elements appears only to the right of the first inline box generated by the element.

Note: Negative values ​​are not allowed. All major browsers support the padding-right attribute. The attribute value "inherit" is not supported in any version of Internet Explorer (including IE8).

css padding-right propertyexample

<html>
<head>
<style type="text/css">
td {padding-right: 15px}
</style>
</head>

<body>
<table border="1">
<tr>
<td>
这个表格单元拥有右内边距。
</td>
</tr>
</table>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance

Popular Recommendations

Home

Videos

Q&A