margin
English [?mɑ:d??n]
n. ????, ??; ??(??? ?? ??)
vt. ?? ??, ????; ?? ??...
top
English [t?p] US [tɑ:p]
n. box) ??, (? ??? ?) of) ??; ??top ;Towering;End3?? ??: tops ??: tops ?? ??: topping ?? ??: topped ?? ??: topped
?????? marginTop ?? ???
??: ??? ?? ??? ?????.
??: ??Object.style.marginTop=auto|length|%
????: auto ?????? ??? ?? ?????. ??? ??? ?? ??? ?????. ???? 0???. % ?? ??? ?? ??? ???? ?? ??? ???? ?????.?
?????? marginTop ?? ?
<html> <head> <script type="text/javascript"> function changeMargin() { document.getElementById("p1").style.marginTop="32px"; } </script> </head> <body> <input type="button" onclick="changeMargin()" value="Change the top 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>
???? ?? ?
??? ????? ??? "???? ??" ??? ?????