margin
英[?mɑ:d??n]? ?美[?mɑ:rd??n]??
#n.邊緣,範(fàn)圍;極限;利潤(rùn),盈餘;(版心外)的空白
vt.留邊;成為…的邊;加邊於,圍繞;為…加旁注
複數(shù): margins
bottom
英[?b?t?m]? ?美[?bɑ:t?m]??
n.底部;末端;臀部;盡頭
#adj.底部的
vtt .裝底;測(cè)量深淺;找出真相
vi.到達(dá)底部;建立基礎(chǔ)
第三人稱單數(shù): bottoms 複數(shù): bottoms 現(xiàn)在分詞: bottoming 過(guò)去式: bottomed 過(guò)去分詞: bottomed
css margin-bottom屬性 語(yǔ)法
作用:設(shè)定元素的下外邊距。
說(shuō)明:允許使用負(fù)值。
註解:所有主流瀏覽器都支援 margin-bottom 屬性。
css margin-bottom屬性 範(fàn)例
<html> <head> <style type="text/css"> p.bottommargin {margin-bottom: 2cm} </style> </head> <body> <p>這個(gè)段落沒(méi)有指定外邊距。</p> <p class="bottommargin">這個(gè)段落帶有指定的下外邊距。</p> <p>這個(gè)段落沒(méi)有指定外邊距。</p> </body> </html>
執(zhí)行實(shí)例 ?
點(diǎn)擊 "執(zhí)行實(shí)例" 按鈕查看線上實(shí)例