网页排版CSS教学(30) <TR><TD class=a width=565><DIV class=bg_orange align=center>区 块 性 质 的 C S S 指 令</DIV></TD></TR><TR><TD><TABLE cellSpacing=0 cellPadding=0 width=565><TBODY><TR class=article><TD class=b><BR><CENTER><TABLE cellSpacing=0 cellPadding=0 width=550 border=0><TBODY class=article><TR><TD class=b width=275 height=20><SPAN class=ls>margin-top</SPAN> 设定上边缘宽度</TD><TD class=b width=275 height=20><SPAN class=ls>margin-right</SPAN> 设定右边缘宽度</TD></TR><TR><TD class=b width=275 height=20><SPAN class=ls>margin-bottom</SPAN> 设定下边缘宽度</TD><TD class=b width=275 height=20><SPAN class=ls>margin-left</SPAN> 设定左边缘宽度</TD></TR></TBODY></TABLE></CENTER><DIV><SPAN class=e>支 持:</SPAN><SPAN class=b>IE3、IE4、NC4</SPAN><BR><SPAN class=e>适 用:</SPAN><SPAN class=b>区块元素</SPAN><BR><SPAN class=e>可能值:</SPAN> <TABLE cellSpacing=0 cellPadding=2 width=500 border=1><TBODY><TR><TD class=c width=150><length></TD><TD class=d width=350>长度单位,请参考第一章基本单位的相关说明</TD></TR><TR><TD class=c width=150><percentage></TD><TD class=d width=350>百分比,相对于元素宽度大小</TD></TR><TR><TD class=c width=150>auto</TD><TD class=d width=350>使用浏览器预设值</TD></TR></TBODY></TABLE><SPAN class=e>预设值:</SPAN><SPAN class=b>0</SPAN><BR><SPAN class=e>继承性:</SPAN><SPAN class=b>无</SPAN><BR><DIV class=ex><SPAN class=ex>一般范例:</SPAN>DIV { margin-top : 20pt }<BR><SPAN class=ex>同轴范例:</SPAN><DIV style="margin-top:20pt"></DIV></DIV><BR><BR><SPAN class=l>margin</SPAN> 综合设定边缘宽度