margin

English [?mɑ:d??n]

n. ????, ??; ??(??? ?? ??)

vt. ?? ??, ????; ?? ??...

bottom

English [?b?t?m]

n. ; end

adj. ??? ????; ??? ????

??? ??

3?? ??: ?? ????: ??? ?? ????: ??? ?? ????: ??? ??

?????? marginBottom ?? ???

??: ??? ?? ??? ?????.

??: ??Object.style.marginBottom=auto|length|%

????: auto ?????? ??? ??? ?????. length? ??? ??? ??? ?????. ???? 0???. % ?? ??? ?? ??? ???? ??? ??? ???? ?????.?

?????? marginBottom ?? ?

<html>
<head>
<script type="text/javascript">
function changeMargin()
{
document.getElementById("p1").style.marginBottom="32px";
}
</script>
</head>
<body>

<input type="button" onclick="changeMargin()" 
value="Change the bottom margin of a paragraph" />

<p>This is a paragraph</p>
<p id="p1">This is a paragraph</p>
<p>This is a paragraph</p>

</body>
</html>

???? ?? ?

??? ????? ??? "???? ??" ??? ?????