css padding-bottom property


  Translation results:

padding

英[ˈpædɪŋ] 美[ˈpædɪŋ]

n.Padding; lining; redundant language; nonsense

v. To pad..., to add cushions (the present participle of pad); to walk, to walk lightly

bottom

UK[ˈbɒtəm] US[ˈbɑ:təm]

n. Bottom; end; hip; end

adj. Bottom of

vt. Install the bottom; measure the depth; find out the truth

vi. Reach the bottom; establish a foundation

Third person singular: bottoms Plural: bottoms Present participle: bottoming Past tense: bottomed Past participle: bottomed

css padding-bottom propertysyntax

Function: Set the lower padding (bottom margin) of the element.

Description: This attribute sets the width of the padding under the element. Bottom padding set on inline, non-replaced elements does not affect line height calculations, so if an element has both padding and background, it may visually extend into other lines and possibly overlap other content. . Negative padding values ​​are not allowed.

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

css padding-bottom propertyexample

<html>
<head>
<style type="text/css">
td {padding-bottom: 20px}
</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