padding
英[?p?d??]? ?美[?p?d??]??
n.襯墊;襯料;贅語;廢話
v.給…裝襯墊,加用墊子( pad的現(xiàn)在分詞);步行,放輕腳步走
bottom
英[?b?t?m]? ?美[?bɑ:t?m]
n.底部;末端;臀;盡頭
adj.底部的
vt.裝底;測量深淺;找出真相
vi.到達(dá)底部;建立基礎(chǔ)
第三人稱單數(shù): bottoms 複數(shù): bottoms 現(xiàn)在分詞: bottoming 過去式: bottomed 過去分詞: bottomed
#css padding-bottom屬性 語法
作用:設(shè)定元素的下內(nèi)邊距(底部空白)。
說明:此屬性設(shè)定元素下內(nèi)邊距的寬度。行內(nèi)非替換元素上設(shè)定的下內(nèi)邊距不會影響行高計(jì)算,因此,如果一個(gè)元素既有內(nèi)邊距又有背景,從視覺上看可能延伸到其他行,有可能還會與其他內(nèi)容重疊。不允許指定負(fù)內(nèi)邊距值。
註解:不允許使用負(fù)值。所有主流瀏覽器都支援 padding-bottom 屬性。任何的版本的 Internet Explorer (包括 IE8)都不支援屬性值 "inherit"。
css padding-bottom屬性 範(fàn)例
<html> <head> <style type="text/css"> td {padding-bottom: 20px} </style> </head> <body> <table border="1"> <tr> <td> 這個(gè)表格單元擁有下內(nèi)邊距。 </td> </tr> </table> </body> </html>
執(zhí)行實(shí)例 ?
點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例