<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[阿Tim日志]]></title> 
<link>https://atim.cn/index.php</link> 
<description><![CDATA[专业的php开发者.开发团队的带队人]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[阿Tim日志]]></copyright>
<item>
<link>https://atim.cn/post//</link>
<title><![CDATA[CSS2 参考资料]]></title> 
<author>bkkkd &lt;partybase@gmail.com&gt;</author>
<category><![CDATA[开发应用]]></category>
<pubDate>Tue, 09 Jan 2007 14:39:04 +0000</pubDate> 
<guid>https://atim.cn/post//</guid> 
<description>
<![CDATA[ 
	<p>The links in the &quot;Property&quot; column point to more useful information about the specific property. <br />在&quot;属性&quot;列中的连接可以提供更详尽的属性信息。</p><p><table border="0"><tbody><tr><td valign="top"><ul><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#background">背景</a>  </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#border">边框</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#classification">Classification</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#dimension">尺寸</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#font">字体</a> </li></ul></td><td valign="top"><ul><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#generatedcontent">Generated Content</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#list">List and Marker</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#margin">边际</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#outlines">Outlines</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#padding">填充</a> </li></ul></td><td valign="top"><ul><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#positioning">定位</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#table">表格</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#text">文字</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#pseudoclasses">伪类</a> </li><li><a href="http://blog.partywind.com/mblog_edit.php?articleid=a_20070109_223904#pseudoel">伪元素</a>  </li></ul></td></tr></tbody></table></p><p><strong>支持的浏览器:</strong> IE: Internet Explorer, F: Firefox, N: Netscape.</p><p><strong>W3C:</strong> The number in the &quot;W3C&quot; column indicates in which CSS recommendation the property is defined (CSS1 or CSS2).<br />在W3C栏目下显示的数字为CSS版本(CSS1或CSS2)</p><h2><a name="background">Background</a></h2><p><a href="http://www.w3pop.com/tech/school/css/css_background.asp">在线实例</a></p><p><table class="ex" id="background" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_background.asp">background</a></td><td valign="top">A shorthand property for setting all background properties in one declaration<br /> 一个速记属性来用一个声明设置所有背景属性</td><td valign="top"><em>background-color<br />background-image<br />background-repeat background-attachment background-position</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_background-attachment.asp">background-attachment</a></td><td valign="top">Sets whether a background image is fixed or scrolls with the rest of the page<br /> 设置背景图片为固定还是滚屏的</td><td valign="top">scroll<br />fixed</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_background-color.asp">background-color</a></td><td valign="top">Sets the background color of an element<br /> 为一元素设置背景颜色</td><td valign="top"><em>color-rgb<br />color-hex<br />color-name<br /></em>transparent</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_background-image.asp">background-image</a></td><td valign="top">Sets an image as the background<br /> 设置一图片做为背景</td><td valign="top"><em>url</em><br />none</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_background-position.asp">background-position</a></td><td valign="top">Sets the starting position of a background image<br /> 设置背景图片的起始位置</td><td valign="top">top left<br />top center<br />top right<br />center left<br />center center<br />center right<br />bottom left<br />bottom center<br />bottom right<br /><em>x-% y-%</em><br /><em>x-pos y-pos</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_background-repeat.asp">background-repeat</a></td><td valign="top">Sets if/how a background image will be repeated<br /> 如果背景有重复图片的话就用这个设置</td><td valign="top">repeat<br />repeat-x<br />repeat-y<br />no-repeat</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="border">Border</a></h2><p /><p><table class="ex" id="border" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border.asp">border</a></td><td valign="top">A shorthand property for setting all of the properties for the four borders in one declaration<br /> 设置四边属性的快速声明</td><td valign="top"><em>border-width<br />border-style<br />border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-bottom.asp">border-bottom</a></td><td valign="top">A shorthand property for setting all of the properties for the bottom border in one declaration<br /> 设置底部边框属性的快速声明</td><td valign="top"><em>border-bottom-width<br />border-style<br />border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-bottom_color.asp">border-bottom-color</a></td><td valign="top">Sets the color of the bottom border<br /> 设置底部边框颜色</td><td valign="top"><em>border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-bottom_style.asp">border-bottom-style</a></td><td valign="top">Sets the style of the bottom border<br /> 设置低部边框样式</td><td valign="top"><em>border-style</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-bottom_width.asp">border-bottom-width</a></td><td valign="top">Sets the width of the bottom border<br /> 设置底部边框宽度</td><td valign="top">thin<br />medium<br />thick<br /><em>length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-color.asp">border-color</a></td><td valign="top">Sets the color of the four borders, can have from one to four colors<br /> 设置四边颜色</td><td valign="top"><em>color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-left.asp">border-left</a></td><td valign="top">A shorthand property for setting all of the properties for the left border in one declaration<br /> 设置左边框属性</td><td valign="top"><em>border-left-width<br />border-style<br />border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-left_color.asp">border-left-color</a></td><td valign="top">Sets the color of the left border<br /> 设置左边框颜色</td><td valign="top"><em>border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-left_style.asp">border-left-style</a></td><td valign="top">Sets the style of the left border<br /> 设置左边框样式</td><td valign="top"><em>border-style</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-left_width.asp">border-left-width</a></td><td valign="top">Sets the width of the left border<br /> 设置左边框宽度</td><td valign="top">thin<br />medium<br />thick<br /><em>length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-right.asp">border-right</a></td><td valign="top">A shorthand property for setting all of the properties for the right border in one declaration<br /> 设置右边框所有属性</td><td valign="top"><em>border-right-width<br />border-style<br />border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-right_color.asp">border-right-color</a></td><td valign="top">Sets the color of the right border<br /> 设置右边框颜色</td><td valign="top"><em>border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-right_style.asp">border-right-style</a></td><td valign="top">Sets the style of the right border<br /> 设置右边框样式</td><td valign="top"><em>border-style</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-right_width.asp">border-right-width</a></td><td valign="top">Sets the width of the right border<br /> 设置右边框宽度</td><td valign="top">thin<br />medium<br />thick<br /><em>length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-style.asp">border-style</a></td><td valign="top">Sets the style of the four borders, can have from one to four styles<br /> 设置四边样式</td><td valign="top">none<br />hidden<br />dotted<br />dashed<br />solid<br />double<br />groove<br />ridge<br />inset<br />outset</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-top.asp">border-top</a></td><td valign="top">A shorthand property for setting all of the properties for the top border in one declaration<br /> 设置顶边所有属性</td><td valign="top"><em>border-top-width<br />border-style<br />border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-top_color.asp">border-top-color</a></td><td valign="top">Sets the color of the top border<br /> 设置顶边颜色</td><td valign="top"><em>border-color</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-top_style.asp">border-top-style</a></td><td valign="top">Sets the style of the top border<br /> 设置顶边样式</td><td valign="top"><em>border-style</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-top_width.asp">border-top-width</a></td><td valign="top">Sets the width of the top border<br /> 设置顶边宽度</td><td valign="top">thin<br />medium<br />thick<br /><em>length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_border-width.asp">border-width</a></td><td valign="top">A shorthand property for setting the width of the four borders in one declaration, can have from one to four values<br /> 设置四边宽度</td><td valign="top">thin<br />medium<br />thick<br /><em>length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="classification">Classification</a></h2><p><table class="ex" id="classification" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_clear.asp">clear</a></td><td valign="top">Sets the sides of an element where other floating elements are not allowed<br /> 设置一元素的两边都不允许有其他元素进行浮动</td><td valign="top">left<br />right<br />both<br />none</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_cursor.asp">cursor</a></td><td valign="top">Specifies the type of cursor to be displayed<br /> 指定游标所显示的类型</td><td valign="top"><span class="value-inst-uri noxref"><em>url</em><br /></span>auto<br />crosshair<br />default<br />pointer<br />move<br />e-resize<br />ne-resize<br />nw-resize<br />n-resize<br />se-resize<br />sw-resize<br />s-resize<br />w-resize<br />text<br />wait<br />help</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_display.asp">display</a></td><td valign="top">Sets how/if an element is displayed<br /> 设置元素(是否/怎样)显示</td><td valign="top">none<br />inline<br />block<br />list-item<br />run-in<br />compact<br />marker<br />table<br />inline-table<br />table-row-group<br />table-header-group<br />table-footer-group<br />table-row<br />table-column-group<br />table-column<br />table-cell<br />table-caption</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_float.asp">float</a></td><td valign="top">Sets where an image or a text will appear in another element<br /> 设置在另一元素里的图片或是文字将在哪个位置显示</td><td valign="top">left<br />right<br />none</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_position.asp">position</a></td><td valign="top">Places an element in a static, relative, absolute or fixed position<br /> 将元素以static, relative, absolute或是固定的方式进行定位</td><td valign="top">static<br />relative<br />absolute<br />fixed</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_visibility.asp">visibility</a></td><td valign="top">Sets if an element should be visible or invisible<br /> 设置元素显示或是不显示</td><td valign="top">visible<br />hidden<br />collapse</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="dimension">Dimension</a></h2><p><table class="ex" id="dimension" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_height.asp">height</a></td><td valign="top">Sets the height of an element<br /> 设置元素的高度</td><td valign="top">auto<em><br />length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_line-height.asp">line-height</a></td><td valign="top">Sets the distance between lines<br /> 设置两行间的距离（行高）</td><td valign="top">normal<br /><em>number<br />length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_max-height.asp">max-height</a></td><td valign="top">Sets the maximum height of an element<br /> 设置元素的最大高度</td><td valign="top">none<br /><em>length<br />%</em></td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_max-width.asp">max-width</a></td><td valign="top">Sets the maximum width of an element<br /> 设置元素的最大宽度</td><td valign="top">none<br /><em>length<br />%</em></td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_min-height.asp">min-height</a></td><td valign="top">Sets the minimum height of an element<br /> 设置元素的最小高度</td><td valign="top"><em>length<br />%</em></td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_min-width.asp">min-width</a></td><td valign="top">Sets the minimum width of an element<br /> 设置元素的最小宽度</td><td valign="top"><em>length<br />%</em></td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_dim_width.asp">width</a></td><td valign="top">Sets the width of an element<br /> 设置元素的宽度</td><td valign="top">auto<br /><em>%<br />length</em>  </td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="font">Font</a></h2><p /><p><table class="ex" id="font" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font.asp">font</a><br /></td><td valign="top">A shorthand property for setting all of the properties for a font in one declaration<br /> 快速设置所有字体属性的声明</td><td valign="top"><em>font-style<br />font-variant<br />font-weight<br />font-size/line-height<br />font-family<br /></em>caption<br />icon<br />menu<br />message-box<br />small-caption<br />status-bar</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font-family.asp">font-family</a><br /></td><td valign="top">A prioritized list of font family names and/or generic family names for an element<br /> 一份为元素准备的字体系列优先列表</td><td valign="top"><em>family-name<br />generic-family</em></td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font-size.asp">font-size</a><br /></td><td valign="top">Sets the size of a font<br /> 设置字体大小</td><td valign="top">xx-small<br />x-small<br />small<br />medium<br />large<br />x-large<br />xx-large<br />smaller<br />larger<em><br />length<br />%</em></td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font-size-adjust.asp">font-size-adjust</a> </td><td valign="top">Specifies an aspect value for an element that will preserve the x-height of the first-choice font<br /> 指定首选字体x高度</td><td valign="top">none<br /><em>number</em></td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font-stretch.asp">font-stretch</a> </td><td valign="top">Condenses or expands the current font-family<br /> 当前字体系列的合并或扩展</td><td valign="top">normal<br />wider<br />narrower<br />ultra-condensed<br />extra-condensed<br />condensed<br />semi-condensed<br />semi-expanded<br />expanded<br />extra-expanded<br />ultra-expanded</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font-style.asp">font-style</a><br /></td><td valign="top">Sets the style of the font<br /> 设置字体样式</td><td valign="top">normal<br />italic<br />oblique</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_font-variant.asp">font-variant</a><br /></td><td valign="top">Displays text in a small-caps font or a normal font<br /> 让字体显示为小号或正常</td><td valign="top">normal<br />small-caps</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_font_weight.asp">font-weight</a><br /></td><td valign="top">Sets the weight of a font<br /> 设置字体的粗细</td><td valign="top">normal<br />bold<br />bolder<br />lighter<br />100<br />200<br />300<br />400<br />500<br />600<br />700<br />800<br />900</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="generatedcontent">Generated Content</a></h2><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_gen_content.asp">content</a> </td><td valign="top">Generates content in a document. Used with the :before and :after pseudo-elements<br />通过使用 :before和 :after 伪元素 生成文档里的内容</td><td valign="top"><em>string</em><br /><em>url<br /></em>counter(<em>name</em>)<br />counter(<em>name, list-style-type</em>)<br />counters(<em>name, string</em>)<br />counters(<em>name, string, list-style-type</em>)<br />attr(X)<br />open-quote<br />close-quote<br />no-open-quote<br />no-close-quote</td><td valign="top"> </td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_gen_counter-increment.asp">counter-increment</a> </td><td valign="top">Sets how much the counter increments on each occurrence of a selector <br />设定当一个选择符(selector)发生时计数器增加的值。</td><td valign="top">none<br /><em>identifier number</em></td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_gen_counter-reset.asp">counter-reset</a> </td><td valign="top">Sets the value the counter is set to on each occurrence of a selector<br />将指定选择符(selector)的计数器复位</td><td valign="top">none<br /><em>identifier number</em></td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_gen_quotes.asp">quotes</a> </td><td valign="top">Sets the type of quotation marks<br />设置引用标记类型</td><td valign="top">none<br /><em>string string</em></td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="list">List and Marker</a></h2><p><table class="ex" id="generatedcontent" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_list-style.asp">list-style</a></td><td valign="top">A shorthand property for setting all of the properties for a list in one declaration<br />设置列表项目相关样式</td><td valign="top"><em>list-style-type<br />list-style-position<br />list-style-image</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_list-style-image.asp">list-style-image</a></td><td valign="top">Sets an image as the list-item marker<br />设置列表项目标记用图标表示</td><td valign="top">none<br /><em>url</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_list-style-position.asp">list-style-position</a></td><td valign="top">Sets where the list-item marker is placed in the list<br />设置列表项目标志的位置</td><td valign="top">inside<br />outside</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_list-style-type.asp">list-style-type</a></td><td valign="top">Sets the type of the list-item marker<br />设置列表项目标志的类型</td><td valign="top">none<br />disc<br />circle<br />square<br />decimal<br />decimal-leading-zero<br />lower-roman<br />upper-roman<br />lower-alpha<br />upper-alpha<br />lower-greek<br />lower-latin<br />upper-latin<br />hebrew<br />armenian<br />georgian<br />cjk-ideographic<br />hiragana<br />katakana<br />hiragana-iroha<br />katakana-iroha </td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top">marker-offset</td><td valign="top"> </td><td valign="top">auto<br /><em>length</em></td><td valign="top"> </td><td valign="top">1</td><td valign="top">7</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="margin">Margin</a></h2><p><table class="ex" id="margin" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_margin.asp">margin</a> </td><td valign="top">A shorthand property for setting the margin properties in one declaration<br /> 快速设置各边距属性</td><td valign="top"><em>margin-top<br />margin-right<br />margin-bottom<br />margin-left</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><p><a href="http://www.w3pop.com/tech/school/css/pr_margin-bottom.asp">margin-bottom</a> </p></td><td valign="top">Sets the bottom margin of an element<br /> 设置底部边距</td><td valign="top">auto<br /><em>length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><p><a href="http://www.w3pop.com/tech/school/css/pr_margin-left.asp">margin-left</a> </p></td><td valign="top">Sets the left margin of an element<br /> 设置左部边距</td><td valign="top">auto<br /><em>length<br />%</em></td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><p><a href="http://www.w3pop.com/tech/school/css/pr_margin-right.asp">margin-right</a> </p></td><td valign="top">Sets the right margin of an element<br /> 设置右部边距</td><td valign="top">auto<br /><em>length<br />%</em></td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_margin-top.asp">margin-top</a> </td><td valign="top">Sets the top margin of an element<br /> 设置上部边距</td><td valign="top">auto<br /><em>length<br />%</em></td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="outlines">Outlines</a></h2><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_outline.asp">outline</a> </td><td valign="top">A shorthand property for setting all the outline properties in one declaration<br />设置所有线条轮廓</td><td valign="top"><em>outline-color<br />outline-style<br />outline-width</em></td><td valign="top">-</td><td valign="top">1.5</td><td valign="top">-</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_outline-color.asp">outline-color</a> </td><td valign="top">Sets the color of the outline around an element<br />设置线条轮廓的颜色</td><td valign="top"><em>color<br /></em>invert</td><td valign="top">-</td><td valign="top">1.5</td><td valign="top">-</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_outline-style.asp">outline-style</a> </td><td valign="top">Sets the style of the outline around an element<br />设置线条轮廓的类型</td><td valign="top">none<br />dotted<br />dashed<br />solid<br />double<br />groove<br />ridge<br />inset<br />outset</td><td valign="top">-</td><td valign="top">1.5</td><td valign="top">-</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_outline-width.asp">outline-width</a> </td><td valign="top">Sets the width of the outline around an element<br />设置线条轮廓的宽度</td><td valign="top">thin<br />medium<br />thick<br /><em>length</em></td><td valign="top">-</td><td valign="top">1.5</td><td valign="top">-</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="padding">Padding</a></h2><p><a href="http://www.w3pop.com/tech/school/css/css_padding.asp">在线实例</a></p><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_padding.asp">padding</a></td><td valign="top">A shorthand property for setting all of  the padding properties in one declaration<br />一种可针对所有填充属性进行一次声明的速记属性</td><td valign="top"><em>padding-top<br />padding-right<br />padding-bottom<br />padding-left</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><p><a href="http://www.w3pop.com/tech/school/css/pr_padding-bottom.asp">padding-bottom</a></p></td><td valign="top">Sets the bottom padding of an element<br /> 设置元素的底填充</td><td valign="top"><em>length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><p><a href="http://www.w3pop.com/tech/school/css/pr_padding-left.asp">padding-left</a></p></td><td valign="top">Sets the left padding of an element<br /> 设置元素的左填充</td><td valign="top"><em>length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><p><a href="http://www.w3pop.com/tech/school/css/pr_padding-right.asp">padding-right</a></p></td><td valign="top">Sets the right padding of an element<br /> 设置元素的右填充</td><td valign="top"><em>length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_padding-top.asp">padding-top</a></td><td valign="top">Sets the top padding of an element<br /> 设置元素的顶部填充</td><td valign="top"><em>length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="positioning">Positioning</a></h2><p><a href="http://www.w3pop.com/tech/school/css/css_positioning.asp">在线实例</a></p><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_bottom.asp">bottom</a></td><td valign="top">Sets how far the bottom edge of an element is above/below the bottom edge of the parent element<br /> 设置元素与其最近一个具有定位设置的父元素底边相关的位置</td><td valign="top">auto<br /><em>%<br />length</em></td><td valign="top">5</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_clip.asp">clip</a></td><td valign="top">Sets the shape of an element. The element is clipped into this shape, and displayed<br /> 设置元素的可视区域。</td><td valign="top"><em>shape<br /></em>auto</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_left.asp">left</a></td><td valign="top">Sets how far the left edge of an element is to the right/left of the left edge of the parent element<br /> 设置元素与其最近一个具有定位设置的父元素左边相关的位置</td><td valign="top">auto<br /><em>%<br />length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_overflow.asp">overflow</a><br /></td><td valign="top">Sets what happens if the content of an element overflow its area<br /> 设置当对象的内容超过其指定高度及宽度时如何管理内容</td><td valign="top">visible<br />hidden<br />scroll<br />auto</td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_class_position.asp">position</a></td><td valign="top">Places an element in a static, relative, absolute or fixed position<br /> 决定元素的定位方式</td><td valign="top">static<br />relative<br />absolute<br />fixed</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_right.asp">right</a></td><td valign="top">Sets how far the right edge of an element is to the left/right of the right edge of the parent element<br /> 设置对象与其最近一个具有定位设置的父对象右边相关的位置</td><td valign="top">auto<br /><em>%<br />length</em></td><td valign="top">5</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_top.asp">top</a></td><td valign="top">Sets how far the top edge of an element is above/below the top edge of the parent element<br /> 置对象与其最近一个具有定位设置的父对象顶边相关的位置</td><td valign="top">auto<br /><em>%<br />length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_vertical-align.asp">vertical-align</a></td><td valign="top">Sets the vertical alignment of an element<br /> 设置元素垂直对齐方式</td><td valign="top">baseline<br />sub<br />super<br />top<br />text-top<br />middle<br />bottom<br />text-bottom<br /><em>length</em><br /><em>%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_pos_z-index.asp">z-index</a></td><td valign="top">Sets the stack order of an element<br /> 设置对象的层叠顺序</td><td valign="top">auto<br /><em>number</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="table">Table</a></h2><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_tab_border-collapse.asp">border-collapse</a></td><td valign="top">Sets the border model of a table<br />设置表格模型的边框</td><td valign="top">collapse<br />separate</td><td valign="top">5</td><td valign="top">1</td><td valign="top">7</td><td valign="top">2</td></tr><tr><td valign="top">border-spacing</td><td valign="top">Sets the distance between the borders of adjacent cells (only for the &quot;separated borders&quot; model)<br />设置或检索当表格边框独立(例如当 border-collapse 属性等于 separate 时)，行和单元格的边在横向和纵向上的间距。</td><td valign="top"><em>length length</em></td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top">caption-side </td><td valign="top">Sets the position of the caption according to the table<br />设置或检索表格( table )的 caption 对象是在表格的那一边。它是和 caption 对象一起使用的属性。 </td><td valign="top">top<br />bottom<br />left<br />right</td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top">empty-cells </td><td valign="top">Sets whether cells with no visible content should have borders or not (only for the &quot;separated borders&quot; model) <br />设置或检索当表格的单元格无内容时，是否显示该单元格的边框。 <br />只有当表格行和列的边框独立（例如当 border-collapse 属性等于 separate ）时此属性才起作用。 </td><td valign="top">show<br />hide</td><td valign="top">-</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top">table-layout </td><td valign="top">Sets the algorithm used to lay out the table<br />设置或检索表格的布局算法。</td><td valign="top">auto<br />fixed</td><td valign="top">5</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="text">Text</a></h2><p><a href="http://www.w3pop.com/tech/school/css/css_text.asp">在线实例</a></p><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th align="left" width="25%">属性</th><th align="left" width="30%">描述</th><th align="left" width="25%">值</th><th align="left" width="5%">IE</th><th align="left" width="4%">F</th><th align="left" width="4%">N</th><th align="left" width="7%">W3C</th></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_color.asp">color</a></td><td valign="top">Sets the color of a text<br />设置文字颜色</td><td valign="top"><em>color</em></td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_direction.asp">direction</a></td><td valign="top">Sets the text direction<br />设置文字的书写方向</td><td valign="top">ltr<br />rtl</td><td valign="top">6</td><td valign="top">1</td><td valign="top">6</td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_letter-spacing.asp">letter-spacing</a></td><td valign="top">Increase or decrease the space between characters<br />字符间距</td><td valign="top">normal<br /><em>length</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_text-align.asp">text-align</a></td><td valign="top">Aligns the text in an element<br /> 在一元素中怎么对齐文字（向左，向右..）</td><td valign="top">left<br />right<br />center<br />justify</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_text-decoration.asp">text-decoration</a></td><td valign="top">Adds decoration to text<br /> 添加文字修饰（下划线等等）</td><td valign="top">none<br />underline<br />overline<br />line-through<br />blink</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_text-indent.asp">text-indent</a></td><td valign="top">Indents the first line of text in an element<br /> 首行文字缩进</td><td valign="top"><em>length<br />%</em></td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top">text-shadow</td><td valign="top"> </td><td valign="top">none<br /><em>color</em><br /><em>length</em></td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_text-transform.asp">text-transform</a></td><td valign="top">Controls the letters in an element<br /> 控制字母（大写，小写。。）</td><td valign="top">none<br />capitalize<br />uppercase<br />lowercase</td><td valign="top">4</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top">unicode-bidi</td><td valign="top"> </td><td valign="top">normal<br />embed<br />bidi-override</td><td valign="top">5</td><td valign="top"> </td><td valign="top"> </td><td valign="top">2</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_white-space.asp">white-space</a></td><td valign="top">Sets how white space inside an element is handled<br /> 设置怎样给一元素控件留白</td><td valign="top">normal<br />pre<br />nowrap</td><td valign="top">5</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top"><a href="http://www.w3pop.com/tech/school/css/pr_text_word-spacing.asp">word-spacing</a></td><td valign="top">Increase or decrease the space between words<br /> 单词间距</td><td valign="top">normal<br /><em>length</em></td><td valign="top">6</td><td valign="top">1</td><td valign="top">6</td><td valign="top">1</td></tr></tbody></table></p><h2><a name="pseudoclasses">Pseudo-classes</a></h2><p><a href="http://www.w3pop.com/tech/school/css/css_pseudo_classes.asp">在线实例</a></p><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1"><tbody><tr><th valign="top" align="left" width="25%">伪类</th><th valign="top" align="left" width="55%">意图</th><th valign="top" align="left" width="5%">IE</th><th valign="top" align="left" width="4%">F</th><th valign="top" align="left" width="4%">N</th><th valign="top" align="left" width="7%">W3C</th></tr><tr><td valign="top">:active</td><td valign="top">Adds special style to an activated element<br /> 指定活动元素的样式</td><td valign="top">4</td><td valign="top">1</td><td valign="top">8</td><td valign="top">1</td></tr><tr><td valign="top">:focus</td><td valign="top">Adds special style to an element while the element has focus<br /> 为焦点元素加上指定样式</td><td valign="top">-</td><td valign="top">-</td><td valign="top">-</td><td valign="top">2</td></tr><tr><td valign="top">:hover</td><td valign="top">Adds special style to an element when you mouse over  it<br /> 指定当你的鼠标移到元素上时所要表现的样式</td><td valign="top">4</td><td valign="top">1</td><td valign="top">7</td><td valign="top">1</td></tr><tr><td valign="top">:link</td><td valign="top">Adds special style to an unvisited link<br /> 连接在未被访问前的样式</td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top">:visited</td><td valign="top">Adds special style to a visited link<br /> 在其链接地址已被访问过时的样式</td><td valign="top">3</td><td valign="top">1</td><td valign="top">4</td><td valign="top">1</td></tr><tr><td valign="top">:first-child</td><td valign="top">Adds special style to an element that is the first child of some other element<br /> 第一个子对象的样式</td><td valign="top"> </td><td valign="top">1</td><td valign="top">7</td><td valign="top">2</td></tr><tr><td valign="top">:lang</td><td valign="top">Allows the author to specify a language to use in a specified element<br /> 设置元素使用特殊语言的内容的样式。</td><td valign="top"> </td><td valign="top">1</td><td valign="top">8</td><td valign="top">2</td></tr></tbody></table></p><h2><a name="pseudoel">Pseudo-elements</a></h2><p><a href="http://blog.partywind.com/">在线实例</a></p><p><table class="ex" cellspacing="0" cellpadding="3" width="100%" border="1" ic="pseudoel"><tbody><tr><th valign="top" align="left" width="25%">伪元素</th><th valign="top" align="left" width="55%">意图</th><th valign="top" align="left" width="5%">IE</th><th valign="top" align="left" width="4%">F</th><th valign="top" align="left" width="4%">N</th><th valign="top" align="left" width="7%">W3C</th></tr><tr><td valign="top">:first-letter</td><td valign="top">Adds special style to the first letter of a text<br /> 设置文字第一个字符的样式</td><td valign="top">5</td><td valign="top">1</td><td valign="top">8</td><td valign="top">1</td></tr><tr><td valign="top">:first-line</td><td valign="top">Adds special style to the first line of a text<br /> 为文字的第一行加上特殊样式</td><td valign="top">5</td><td valign="top">1</td><td valign="top">8</td><td valign="top">1</td></tr><tr><td valign="top">:before</td><td valign="top">Inserts some content before an element<br /> 在元素前插入一些内容</td><td valign="top"> </td><td valign="top">1.5</td><td valign="top">8</td><td valign="top">2</td></tr><tr><td valign="top">:after</td><td valign="top">Inserts some content after an element<br /> 在元素后插入一些内容</td><td valign="top"> </td><td valign="top">1.5</td><td valign="top">8</td><td valign="top">2</td></tr></tbody></table></p>
]]>
</description>
</item><item>
<link>https://atim.cn/post//#blogcomment</link>
<title><![CDATA[[评论] CSS2 参考资料]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://atim.cn/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>