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