<?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>thdp&#039;s blog &#187; Yo2</title>
	<atom:link href="http://thdp.org/tag/yo2/feed/" rel="self" type="application/rss+xml" />
	<link>http://thdp.org</link>
	<description>崇尚技术，享受生活</description>
	<lastBuildDate>Mon, 27 Feb 2012 22:50:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>添加yo2的logo到侧栏后页尾对不齐的解决办法</title>
		<link>http://thdp.org/tech/website/align_footer/</link>
		<comments>http://thdp.org/tech/website/align_footer/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 05:13:17 +0000</pubDate>
		<dc:creator>Ping</dc:creator>
				<category><![CDATA[网站相关|WordPress]]></category>
		<category><![CDATA[iNove]]></category>
		<category><![CDATA[Yo2]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://thdp.yo2.cn/10380.html</guid>
		<description><![CDATA[[更新]经过oneoo站长的指导，得知多出个&#60;div&#62;是由于此模板与原系统代码不兼容。站长现已更正了系统代码，可以正常使用了。 刚注册用的yo2 免费账号，主题换成iNove，页面布局一切正常。在添加了侧边栏后，免费帐号会自动添加支持yo2的logo，之后发现页尾无法居中对齐。通过研究模板的源代码和css样式表，终于发现问题出在yo2 logo自动添加的代码多了个&#60;/div&#62;。请管理员明察，如情况属实还望尽快更正。 首先来看一下页面body的结构，大致由页首header、正文、侧边栏sidebar和页尾footer组成。请注意每个&#60;div&#62;标签都需要有个对应的&#60;/div&#62;来结束。 再看css表，整个页面布局由wrap模块控制，背景图片light.png宽度936px，居中对齐。页面所有内容放到container模块，左右留白设为自动。  下面来看添加了yo2 logo后的页面源码，这里摘出存放logo的南部侧边栏。我修改了一下格式，通过对齐可以发现高亮选中部分的&#60;/div&#62;是多余的，并造成页尾跳出container，左右方向布满整个屏幕宽度。 在管理员没有修改系统代码前，临时的解决办法是自己修改 sidebar.php，将&#60;!&#8211; sidebar south END &#8211;&#62;之前的&#60;/div&#62;删掉。 分享到： 更多 &#124;2&#124;left]]></description>
			<content:encoded><![CDATA[<p>[更新]经过oneoo站长的指导，得知多出个&lt;div&gt;是由于此模板与原系统代码不兼容。站长现已更正了系统代码，可以正常使用了。</p>
<p>刚注册用的yo2 免费账号，主题换成iNove，页面布局一切正常。在添加了侧边栏后，免费帐号会自动添加支持yo2的logo，之后发现页尾无法居中对齐。通过研究模板的源代码和css样式表，终于发现问题出在yo2 logo自动添加的代码多了个&lt;/div&gt;。请管理员明察，如情况属实还望尽快更正。</p>
<p>首先来看一下页面body的结构，大致由页首header、正文、侧边栏sidebar和页尾footer组成。请注意每个&lt;div&gt;标签都需要有个对应的&lt;/div&gt;来结束。<br />
<a href="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/body.png" title="body.png"><img src="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/body.png" alt="body.png" /></a></p>
<p>再看css表，整个页面布局由wrap模块控制，背景图片light.png宽度936px，居中对齐。页面所有内容放到container模块，左右留白设为自动。<br />
<a href="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/css.png" title="css.png"><img src="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/css.png" alt="css.png" /></a></p>
<p> 下面来看添加了yo2 logo后的页面源码，这里摘出存放logo的南部侧边栏。我修改了一下格式，通过对齐可以发现高亮选中部分的&lt;/div&gt;是多余的，并造成页尾跳出container，左右方向布满整个屏幕宽度。<a href="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/sidebar1.png" title="sidebar1.png"><img src="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/sidebar1.png" alt="sidebar1.png" /></a><a href="http://thdp.yo2.cn/wp-content/uploads/347/34735/2009/02/sidebar.png" title="sidebar.png"> </a></p>
<p>在管理员没有修改系统代码前，临时的解决办法是自己修改 sidebar.php，将&lt;!&#8211; sidebar south END &#8211;&gt;之前的&lt;/div&gt;删掉。</p>
<div style=float:left><!-- JiaThis Button BEGIN -->
<div id="ckepop">
	<span class="jiathis_txt">分享到：</span>
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_renren"></a>
	<a class="jiathis_button_douban"></a>
	<a class="jiathis_button_google"></a>
	<a class="jiathis_button_fb"></a>
	<a class="jiathis_button_twitter"></a>
	<a class="jiathis_button_msn"></a>
	<a class="jiathis_button_email"></a>
	<a class="jiathis_button_copy"></a>
	<a class="jiathis_button_print"></a>
	<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank">更多</a>
	<a class="jiathis_counter_style"></a>
</div>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
<!-- JiaThis Button END -->|2|left</div>]]></content:encoded>
			<wfw:commentRss>http://thdp.org/tech/website/align_footer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

