<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WordPress 主题教程 #2：模板文件和模板</title>
	<atom:link href="http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/</link>
	<description>关注 WordPress，关注互联网</description>
	<lastBuildDate>Mon, 15 Mar 2010 03:13:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Denis</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-44248</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Sun, 20 Dec 2009 12:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-44248</guid>
		<description>:mrgreen: 每次浏览还要用户下载字体！</description>
		<content:encoded><![CDATA[<p> <img src='http://fairyfish.net/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  每次浏览还要用户下载字体！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: welee</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-44245</link>
		<dc:creator>welee</dc:creator>
		<pubDate>Sun, 20 Dec 2009 06:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-44245</guid>
		<description>用 CSS3 里的 @font-face 就行了。</description>
		<content:encoded><![CDATA[<p>用 CSS3 里的 @font-face 就行了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: notycn</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-44244</link>
		<dc:creator>notycn</dc:creator>
		<pubDate>Sun, 20 Dec 2009 06:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-44244</guid>
		<description>不如详细的介绍下CSS，很多WP主题里的代码是大同小异，更重要的是CSS布局</description>
		<content:encoded><![CDATA[<p>不如详细的介绍下CSS，很多WP主题里的代码是大同小异，更重要的是CSS布局</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Own-c.l</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-36692</link>
		<dc:creator>Own-c.l</dc:creator>
		<pubDate>Thu, 11 Dec 2008 20:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-36692</guid>
		<description>这个YO2真得不错，更不错的是你发的这个教程，
我对编程特别感兴趣 就是一直每人指点，所以绝对在此认真的学习如何做博客！</description>
		<content:encoded><![CDATA[<p>这个YO2真得不错，更不错的是你发的这个教程，<br />
我对编程特别感兴趣 就是一直每人指点，所以绝对在此认真的学习如何做博客！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy Chaw</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-32741</link>
		<dc:creator>Billy Chaw</dc:creator>
		<pubDate>Sat, 13 Sep 2008 01:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-32741</guid>
		<description>我想请教的是，可否把字体上传，然后在style.css里面指定用上传的字体，这样，就可以保证用自定义的字体了？？</description>
		<content:encoded><![CDATA[<p>我想请教的是，可否把字体上传，然后在style.css里面指定用上传的字体，这样，就可以保证用自定义的字体了？？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 源子</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-32257</link>
		<dc:creator>源子</dc:creator>
		<pubDate>Mon, 01 Sep 2008 01:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-32257</guid>
		<description>受益匪浅... :shock:</description>
		<content:encoded><![CDATA[<p>受益匪浅&#8230; <img src='http://fairyfish.net/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 胡戈戈</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-20714</link>
		<dc:creator>胡戈戈</dc:creator>
		<pubDate>Wed, 30 Jan 2008 14:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-20714</guid>
		<description>太牛了,俺也开始看这东东了</description>
		<content:encoded><![CDATA[<p>太牛了,俺也开始看这东东了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-1848</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Thu, 05 Jul 2007 16:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-1848</guid>
		<description>一般的DIV是这样组织的：

&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;header&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;header&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;

&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;container&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;content&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #ff0000&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #0000ff&quot;&gt;&quot;siderber&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;
&lt;span style=&quot;color: #0000ff&quot;&gt;&lt;/&lt;/span&gt;&lt;span style=&quot;color: #800000&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;&gt;&lt;/span&gt;

如果是定长话，设置各个div的长度，记住div长度是包括width+左右的padding+左右的margin。

然后设置 #content 为 float:left，#sidebar 为 float:right。
设置 #header, #container, #footer, 为 clear:both; 如果还有问题，把他们都设置为：float:left 就能解决。
这样基本在IE，FF中一样。

如果你要让网页居中，设置 body 为：width: xx; margin: xx auto; xx 为数值。</description>
		<content:encoded><![CDATA[<p>一般的DIV是这样组织的：</p>
<p><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span>=<span style="color: #0000ff">&#8220;header&#8221;</span><span style="color: #0000ff">&gt;</span><br />
<span style="color: #0000ff">&lt;/</span><span style="color: #800000">header</span><span style="color: #0000ff">&gt;</span></p>
<p><span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span>=<span style="color: #0000ff">&#8220;container&#8221;</span><span style="color: #0000ff">&gt;</span><br />
	<span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span>=<span style="color: #0000ff">&#8220;content&#8221;</span><span style="color: #0000ff">&gt;</span><br />
	<span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><br />
	<span style="color: #0000ff">&lt;</span><span style="color: #800000">div</span> <span style="color: #ff0000">id</span>=<span style="color: #0000ff">&#8220;siderber&#8221;</span><span style="color: #0000ff">&gt;</span><br />
	<span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span><br />
<span style="color: #0000ff">&lt;/</span><span style="color: #800000">div</span><span style="color: #0000ff">&gt;</span></p>
<p>如果是定长话，设置各个div的长度，记住div长度是包括width+左右的padding+左右的margin。</p>
<p>然后设置 #content 为 float:left，#sidebar 为 float:right。<br />
设置 #header, #container, #footer, 为 clear:both; 如果还有问题，把他们都设置为：float:left 就能解决。<br />
这样基本在IE，FF中一样。</p>
<p>如果你要让网页居中，设置 body 为：width: xx; margin: xx auto; xx 为数值。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lesliefeng</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-1847</link>
		<dc:creator>lesliefeng</dc:creator>
		<pubDate>Thu, 05 Jul 2007 15:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-1847</guid>
		<description>你好，你的教程翻译的很好，给了我很大的帮助
我在尝试制作的时候，遇到些问题：
WP是如何用DIV组织上面的header，中间左右两栏和最下面的footer的？
我可能CSS不过关拉，参看WP的做法，中间左边是FLOAT=LEFT, 然后右边SIDEBAR左边的MAGIN＝XXX,视左边宽度，这样我直接编辑网页，在IE 和FF里效果显示不一样，反正有错误，请指教
谢谢</description>
		<content:encoded><![CDATA[<p>你好，你的教程翻译的很好，给了我很大的帮助<br />
我在尝试制作的时候，遇到些问题：<br />
WP是如何用DIV组织上面的header，中间左右两栏和最下面的footer的？<br />
我可能CSS不过关拉，参看WP的做法，中间左边是FLOAT=LEFT, 然后右边SIDEBAR左边的MAGIN＝XXX,视左边宽度，这样我直接编辑网页，在IE 和FF里效果显示不一样，反正有错误，请指教<br />
谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: motta</title>
		<link>http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-1152</link>
		<dc:creator>motta</dc:creator>
		<pubDate>Thu, 07 Jun 2007 14:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/04/wp-theme-lesson-2-template-files-and-templates/#comment-1152</guid>
		<description>赞! 对我这个刚接触WP的人来说很重要!
慢慢学习中,期待将来对自己在用的模板做出一定的个性化.
谢谢</description>
		<content:encoded><![CDATA[<p>赞! 对我这个刚接触WP的人来说很重要!<br />
慢慢学习中,期待将来对自己在用的模板做出一定的个性化.<br />
谢谢</p>
]]></content:encoded>
	</item>
</channel>
</rss>
