l margin(边缘)属性:控制元素边界与文件其他内容的空白距离。
margin-top:绝对值|相对值
margin-right: 2em
margin-bottom: 20%
margin-left: 15px
margin: <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv>(全部为<st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv>) |<st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="1" unitname="cm" w:st="on">1cm</st1:chmetcnv> <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv>(上下为<st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="1" unitname="cm" w:st="on">1cm</st1:chmetcnv>,左右为<st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv>)| <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="20" unitname="pt" w:st="on">20pt</st1:chmetcnv> 30% 30px <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv>(上,右,左,下)
l border属性:控制表格四边边框的宽度、颜色、及样式。
Border-weight边框宽度属性
border-weight: thin | medium | thick | <length> (</length>有上右下左的规律)
eg) border-weight: thin medium thick thin
border-weight: <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv> <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="1" unitname="cm" w:st="on">1cm</st1:chmetcnv> <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="2" unitname="cm" w:st="on">2cm</st1:chmetcnv> <st1:chmetcnv tcsc="0" numbertype="1" negative="False" hasspace="False" sourcevalue="1" unitname="cm" w:st="on">1cm</st1:chmetcnv>
也单个指明宽度
border-top-weight: border-right -weight: border-bottom-weight: border-left-weight:
Border-color
border-color: #rrggbb (同上:有上右下左的规律)
Border-style
border-style: none | dotted(小点虚线) | dashed (大点虚线) | solid(实线) |double(双直线) | groove(3D凹线) | ridge(3D凸线) | inset(3D框入线) | outset(3D隆起线)
l padding属性:控制表格中的内容或图片。与元素内边界的空白距离。
Padding-top |right |bottom |left :<length> | <percentage> </percentage> </length>
padding-top:
padding: (同上margin 属性)