我列出些比较常用的。
手册下载http://www.zhugao.cn/downloads/study_dw/css2_0_handbook.rar
字体:
color 检索或设置对象的文本颜色
font-family 设置或检索用于对象中文本的字体名称序列
font-size CSS1 设置或检索对象中的字体尺寸
font-size-adjust 设置或检索用于对象中文本的字体名称序列是否强制使用同一尺寸
font-stretch 设置或检索用于对象中文本的文字是否横向的拉伸变形
font-style 设置或检索对象中的字体样式
font-weight 设置或检索对象中的文本字体的粗细
text-decoration 检索或设置对象中的文本的装饰,如下划线、闪烁等
text-underline-position 设置或检索text-decoration属性定义的下划线的位置
text-shadow 设置或检索对象中文本的文字是否有阴影及模糊效果
font-variant 设置或检索对象中的文本是否为小型的大写字母
text-transform 检索或设置对象中的文本的大小写
line-height 检索或设置对象的行高。即字体最底端与字体内部顶端之间的距离
letter-spacing 检索或设置对象中的文字之间的间隔
word-spacing 检索或设置对象中的单词之间插入的空格数。对于IE4+而言仅在MAC平台上可用
文本:
text-indent 检索或设置对象中的文本的缩进
text-overflow 设置或检索是否使用一个省略标记(...)标示对象内文本的溢出
vertical-align 设置或检索对象内容的垂直对其方式
text-align 设置或检索对象中文本的对齐方式
layout-flow 设置或检索对象内文本的流动和方向
writing-mode 设置或检索对象的内容块固有的书写方向
direction 用于设置文本流的方向
unicode-bidi 无 用于同一个页面里存在从不同方向读进的文本显示。与direction属性一起使用
word-break 设置或检索对象内文本的字内换行行为。尤其在出现多种语言时
line-break IE专有属性 设置或检索用于日文文本的换行规则
white-space 设置或检索对象内空格的处理方式
word-wrap IE专有属性 设置或检索当当前行超过指定容器的边界时是否断开转行
text-autospace IE专有属性 设置或检索对象文本的自动空格和紧缩空格宽度调整的方式
text-kashida-space IE专有属性 设置或检索如何拉伸字符来调节文本行排列
text-justify IE专有属性 设置或检索对象内文本的对齐方式
ruby-align IE专有属性 IE5+ 无 设置或检索通过rt对象指定的注释文本或发音指南(参考ruby对象)的对齐位置
ruby-position IE专有属性 设置或检索通过rt对象指定的注释文本或发音指南(参考ruby对象)的位置
ruby-overhang IE专有属性 设置或检索通过rt对象指定的注释文本或发音指南(参考ruby对象)的位置
ime-mode IE专有属性 设置或检索是否允许用户激活输入中文,韩文,日文等的输入法(IME)状态
layout-grid IE专有属性 复合属性。设置或检索复合文档中指定文本字符版式的网格特性
layout-grid-char IE专有属性 设置或检索应用于对象文本的字符网格值
layout-grid-char-spacing IE专有属性 设置或检索字符间隔
layout-grid-line IE专有属性 设置或检索应用于对象文本的行网格值
layout-grid-mode IE专有属性 设置或检索文本网格版式是否使用二维
layout-grid-type IE专有属性 设置或检索应用于对象文本的网格类型
背景:
background 复合属性。设置或检索对象的背景特性
background-attachment 设置或检索背景图像是随对象内容滚动还是固定的
background-color 设置或检索对象的背景颜色
background-image 设置或检索对象的背景图像
background-position 设置或检索对象的背景图像位置
background-positionX IE专有属性 设置或检索对象的背景图像横坐标位置
background-positionY IE专有属性 设置或检索对象的背景图像纵坐标位置
background-repeat 设置或检索对象的背景图像是否及如何铺排
layer-background-color NS专有属性 设置或检索对象整个区域的背景颜色
layer-background-image NS专有属性 设置或检索对象整个区域的背景图像
表格:
background 设置或检索对象的背景特性
background-attachment 设置或检索背景图像是随对象内容滚动还是固定的
background-color 设置或检索对象的背景颜色
background-image 设置或检索对象的背景图像
background-position 设置或检索对象的背景图像位置
background-positionX 设置或检索对象的背景图像横坐标位置
background-positionY IE专有属性 设置或检索对象的背景图像纵坐标位置
background-repeat 设置或检索对象的背景图像是否及如何铺排
layer-background-color NS专有属性 设置或检索对象整个区域的背景颜色
layer-background-image NS专有属性 设置或检索对象整个区域的背景图像
还有一些,上面是比较常用的
直接将含有表格的HTM后缀名改为XLS,用EXCEL打开就成了EXCEL表格。例如:AA.XLS,,用EXCEL打开效果如下:而文件实际文本内容为:<html xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:x="urn:schemas-microsoft-com:office:excel">
<meta http-equiv=Content-Type content="text/htmlcharset=GB2312">
<!--[if gte mso 9]><xml><o:DocumentProperties>
<o:Author>心跳</o:Author>
<o:Company>角落电脑工作室</o:Company>
</o:DocumentProperties></xml><![endif]-->
<style>
<!--table@page {mso-page-orientation:landscape}
tr {mso-height-source:automso-ruby-visibility:none}
col {mso-width-source:automso-ruby-visibility:none}
br {mso-data-placement:same-cell}
td {font-size:12ptpadding-top:1pxpadding-right:1pxpadding-left:1pxmso-ignore:paddingfont-weight:400vertical-align:middletext-align:center}
._LT{font-size:12ptborder-top:1.5pt solidborder-right:.5pt solidborder-bottom:.5pt solidborder-left:1.5pt solid}
._T{font-size:12ptborder-top:1.5pt solidborder-right:.5pt solidborder-bottom:.5pt solid}
._RT{font-size:12ptborder-top:1.5pt solidborder-right:1.5pt solidborder-bottom:.5pt solid}
._L{font-size:12ptborder-right:.5pt solidborder-bottom:.5pt solidborder-left:1.5pt solid}
._C{font-size:12ptborder-right:.5pt solidborder-bottom:.5pt solid}
._R{font-size:12ptborder-right:1.5pt solidborder-bottom:.5pt solid}
._LB{font-size:12ptborder-right:.5pt solidborder-bottom:1.5pt solidborder-left:1.5pt solid}
._B{font-size:12ptborder-right:.5pt solidborder-bottom:1.5pt solid}
._RB{font-size:12ptborder-right:1.5pt solidborder-bottom:1.5pt solid}
ruby{ruby-align:center}
rt{font-size:12ptfont-weight:400}-->
</style>
<!--[if gte mso 9]>
<xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>导出数据</x:Name>
<x:WorksheetOptions>
<x:DefaultRowHeight>285</x:DefaultRowHeight>
<x:Print>
<x:ValidPrinterInfo/>
<x:PaperSizeIndex>9</x:PaperSizeIndex>
<x:HorizontalResolution>180</x:HorizontalResolution>
<x:VerticalResolution>180</x:VerticalResolution>
<x:NumberofCopies>0</x:NumberofCopies>
</x:Print>
<x:Selected/><x:Panes><x:Pane><x:Number>3</x:Number><x:ActiveRow>1</x:ActiveRow><x:ActiveCol>0</x:ActiveCol></x:Pane></x:Panes><x:ProtectContents>False</x:ProtectContents><x:ProtectObjects>False</x:ProtectObjects><x:ProtectScenarios>False</x:ProtectScenarios></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets><x:WindowHeight>6930</x:WindowHeight><x:WindowWidth>11670</x:WindowWidth><x:WindowTopX>120</x:WindowTopX><x:WindowTopY>15</x:WindowTopY><x:ProtectStructure>False</x:ProtectStructure><x:ProtectWindows>False</x:ProtectWindows></x:ExcelWorkbook>
<x:ExcelName>
<x:Name>Print_Titles</x:Name>
<x:SheetIndex>1</x:SheetIndex>
<x:Formula>导出数据</x:Formula></x:ExcelName>
</xml>
<![endif]-->
</head>
<body>
<table x:num><tr><td colspan=6 style='text-align:centerfont-size:24pt'>201001工资构成明细表</td></tr><tr><td class=_LT>项目</td><td class=_T>合计</td><td class=_T>在岗职工工资</td><td class=_T>退养职工工资(80%)</td><td class=_T>备注</td><td class=_RT>本月变动说明</td></tr>
<tr><td class=_L>一、职工人数</td><td class=_C>50</td><td class=_C>49</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L>二、工资总额合计</td><td class=_C>153607.48</td><td class=_C>150842.48</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L>其中:1. 岗位(技能)工资</td><td class=_C>101810</td><td class=_C>99150</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 2. 保留工资</td><td class=_C>0</td><td class=_C>0</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 3. 工龄工资</td><td class=_C>0</td><td class=_C>0</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 4. 三费</td><td class=_C>4550</td><td class=_C>4445</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 5. 生产上岗津贴</td><td class=_C>1190</td><td class=_C>1190</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> (1)技师津贴</td><td class=_C>0</td><td class=_C>0</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> (2)护教贴</td><td class=_C>1190</td><td class=_C>1190</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 6. 加班</td><td class=_C>2628.98</td><td class=_C>2628.98</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 7. 夜班</td><td class=_C>240</td><td class=_C>240</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 8. 生产奖</td><td class=_C></td><td class=_C></td><td class=_C></td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 9. 单项奖</td><td class=_C></td><td class=_C></td><td class=_C></td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_L> 10.其他加1(车贴)</td><td class=_C>652.5</td><td class=_C>652.5</td><td class=_C>0</td><td class=_C></td><td class=_R></td></tr>
<tr><td class=_LB> 11.其他加2</td><td class=_B>42536</td><td class=_B>42536</td><td class=_B>0</td><td class=_B></td><td class=_RB></td></tr>
</table></body></html>