英 [?b?t?m]? ?美 [?bɑ:t?m]??
n.底部;末端;臀部;盡頭
adj.底部的
vt.裝底;測量深淺;查明真相
vi.到達底部;建立基礎(chǔ)
第三人稱單數(shù): bottoms 復(fù)數(shù): bottoms 現(xiàn)在分詞: bottoming 過去式: bottomed 過去分詞: bottomed
javascript bottom屬性 語法
作用:設(shè)置定位元素下外邊距邊界與其包含塊下邊界之間的偏移。
語法:Object.style.bottom=auto|%|length
注釋:如果 "position" 屬性的值為 "static",那么設(shè)置 "bottom" 屬性不會產(chǎn)生任何效果。
javascript bottom屬性 示例
<html> <head> <style type="text/css"> input { position:absolute; } </style> <script type="text/javascript"> function setBottomEdge() { document.getElementById("b1").style.bottom="100px"; } </script> </head> <body> <input type="button" id="b1" onclick="setBottomEdge()" value="Set bottom edge to 100 px" /> </body> </html>
運行實例 ?
點擊 "運行實例" 按鈕查看在線實例