<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>简单生活@NET &#187; table</title>
	<atom:link href="http://lee.kometo.com/archives/tag/table/feed" rel="self" type="application/rss+xml" />
	<link>http://lee.kometo.com</link>
	<description>正确的判断来自经验，但经验往往来自错误的判断</description>
	<lastBuildDate>Tue, 10 Aug 2010 11:01:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>表格的标准化写法</title>
		<link>http://lee.kometo.com/archives/240</link>
		<comments>http://lee.kometo.com/archives/240#comments</comments>
		<pubDate>Sat, 03 Jan 2009 08:28:08 +0000</pubDate>
		<dc:creator>kometo</dc:creator>
				<category><![CDATA[WEB应用开发]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[表格]]></category>

		<guid isPermaLink="false">http://lee.kometo.com/?p=240</guid>
		<description><![CDATA[HMTL中表格标准写法的一个比较完整的实例，仅供参考 结合了thead,tfoot,th的应用，还有CSS控制表格 注意： tfoot在fbody前面 td,th,tr,thead,tfoot,tbody都可以省略结束标记 th不仅仅用在表头中 table#test{ border: 2px solid blue; border-spacing: 1px; padding: 2px; width: 100%; } Title = = = = = = = = = = = B - - - - + B - - - - + B - - - - + B - - - - + B [...]]]></description>
			<content:encoded><![CDATA[<p>HMTL中表格标准写法的一个比较完整的实例，仅供参考</p>
<p>结合了thead,tfoot,th的应用，还有CSS控制表格<br />
注意：</p>
<ol>
<li>tfoot在fbody前面</li>
<li>td,th,tr,thead,tfoot,tbody都可以省略结束标记</li>
<li>th不仅仅用在表头中</li>
</ol>
<style>
table#test{
    border: 2px solid blue;
    border-spacing: 1px;
    padding: 2px;
    width: 100%;
}
</style>
<table  id="test">
<thead>
<tr>
<th> Title</p>
<td> =</p>
<td> =</p>
<td> =</p>
<td> =</p>
<th> =</p>
<tfoot>
<tr>
<th> =</p>
<td> =</p>
<td> =</p>
<td> =</p>
<td> = </p>
<th> =</p>
<tbody>
<tr class="trAlt1">
<th> B</p>
<td> -</p>
<td> -</p>
<td> -</p>
<td> -</p>
<th> +</p>
<tr class="trAlt2">
<th> B</p>
<td> -</p>
<td> -</p>
<td> -</p>
<td> -</p>
<th> +</p>
<tr class="trAlt1">
<th> B</p>
<td> -</p>
<td> -</p>
<td> -</p>
<td> -</p>
<th> +</p>
<tr class="trAlt2">
<th> B</p>
<td> -</p>
<td> -</p>
<td> -</p>
<td> -</p>
<th> +</p>
<tr class="trAlt1">
<th> B</p>
<td> -</p>
<td> -</p>
<td> -</p>
<td> -</p>
<th> +<br />
</table>
<p>WordPress在保存会<strong>自作聪明</strong>的做一些源码改写操作，同时上面的表格也会受到wordpress本身的CSS影响，所以代码请以下面部分的源码为准</p>
<p><span id="more-240"></span></p>
<pre lang='html'>
<style>
table#test{
    border: 2px solid blue;
    border-spacing: 1px;
    padding: 2px;
    width: 100%;
}
</style>
<table id="test">
<thead>
<tr>
<th> Title
<td> =
<td> =
<td> =
<td> =
<th> =
<tfoot>
<tr>
<th> =
<td> =
<td> =
<td> =
<td> = 
<th> =
<tbody>
<tr class="trAlt1">
<th> B
<td> -
<td> -
<td> -
<td> -
<th> +
<tr class="trAlt2">
<th> B
<td> -
<td> -
<td> -
<td> -
<th> +
<tr class="trAlt2">
<th> B
<td> -
<td> -
<td> -
<td> -
<th> +
<tr class="trAlt2">
<th> B
<td> -
<td> -
<td> -
<td> -
<th> +
</table>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://lee.kometo.com/archives/240/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
