<?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>Movie Castle &#187; Themes</title>
	<atom:link href="http://www.eemir3.com/tag/themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eemir3.com</link>
	<description>以对电影的执着,撰写扭曲&#38;颠倒之现世,即使黑暗也会一往无前.</description>
	<lastBuildDate>Sat, 05 Nov 2011 17:27:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>昨天的CSS样式问题其实很容易解决</title>
		<link>http://www.eemir3.com/2008/07/the-problem-i-met-is-easy-to-fix/</link>
		<comments>http://www.eemir3.com/2008/07/the-problem-i-met-is-easy-to-fix/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 11:23:55 +0000</pubDate>
		<dc:creator>Yacca</dc:creator>
				<category><![CDATA[行业&博客]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[侧边栏]]></category>

		<guid isPermaLink="false">http://www.eemir3.com/index.php/2008/07/31/the-problem-i-met-is-easy-to-fix/</guid>
		<description><![CDATA[WordPress~ 真的让我学到了不少有趣的东西! 　　昨天的我很郁闷,原因在这里. 现在的我心情不错,有豁然开朗的感觉, 解决问题的感觉真tmd的有快感,所以我需要遇到许多问题,然后尽我所能一一解决之,那样是不是就...-.- 　　经Lucifr和slim两位友人的提醒,我在原有的CSS样式中添加了一句控制行高的代码,变成这样: #ttf ul li { float:left; margin-right:10px; overflow:hidden; line-height:17px; padding:5px 0 2px 18px; white-space:nowrap; width:140px; } 　 　　目前我很确定的一点是,出现显示上的问题最根本的原因是高度没有控制好,因为加上line-height后,FireFox3那是根本没问题的,IE5.5-IE7下侧边栏全部恢复正常,可还有一个遗漏,那就是IE8...虽然IE8只是个测试版本,但既然都看到有问题了,难道随它去?! 这不是我的风格,我满脑子的解决,解决,解决! 经Oyster提醒,尝试着把line-height换成了height,以上代码变成这样: #ttf ul li { float:left; margin-right:10px; overflow:hidden; height:17px; _padding:6px 0 1px 18px; padding:5px 0 2px 18px; white-space:nowrap; width:140px; } 　 　　又多加了一句_padding,这是针对ie6专门写的hack代码,只在ie6下有效,如此一来,令我纠结几十个小时滴问题全面解决,hoho^o^. 有朋友说我这css写有够乱的,厄...初次接触这么多css的进阶知识,实在一时之间难以做到整洁,写的语句目标也是使得前端显示正常即可. 所以大家如果有好的建议,或者对以上css架构有不同的想法,欢迎留言让我观摩并学习.另外,Chada同学可以过来坐享其成了... 注: 如果对我写的语句不太明白什么意思,建议去这里好好学习并查询下,或者谷歌也是可以的. 随便走走看看棘手且恼人的侧边栏分列显示bug (57)对使用中的Theme做了两点改进 (128)对使用中Theme继续做三处改进 (86)淫邪的WordPress十八摸 (101)让Flash在Firefox和IE下背景透明 [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriteradd073c6cb31-105bbi-love-wordpress-2.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriteradd073c6cb31-105bbi-love-wordpress-thumb.jpg" border="0" alt="i-love-wordpress" width="304" height="196" /></a></p>
<p align="center">WordPress~ 真的让我学到了不少有趣的东西!</p>
<p><span id="more-1932"></span><br />
　　昨天的我很郁闷,原因在<a href="http://www.eemir3.com/index.php/2008/07/30/angry-with-sidebar-column-bug/" target="_blank">这里</a>. 现在的我心情不错,有豁然开朗的感觉, 解决问题的感觉真tmd的有快感,所以我需要遇到许多问题,然后尽我所能一一解决之,那样是不是就...-.-</p>
<p>　　经<a href="http://lucifr.com/" target="_blank">Lucifr</a>和<a href="http://slimblog.cn/slim/" target="_blank">slim</a>两位友人的提醒,我在原有的CSS样式中添加了一句控制行高的代码,变成这样:</p>
<div style="text-align: center;">
<div style="width: 450px; border: black 3px double; padding: 5px;">
<p align="left"><span style="color: #800000;">#ttf</span> <span style="color: #800000;">ul</span> <span style="color: #800000;">li</span> {<br />
<span style="color: #ff0000;">float</span>:<span style="color: #0000ff;">left</span>;<br />
<span style="color: #ff0000;">margin-right</span>:<span style="color: #0000ff;">10px</span>;<br />
<span style="color: #ff0000;">overflow</span>:<span style="color: #0000ff;">hidden</span>;<br />
<span style="color: #ff0000;">line-height</span>:<span style="color: #0000ff;">17px</span>;<br />
<span style="color: #ff0000;">padding</span>:<span style="color: #0000ff;">5px 0 2px 18px</span>;<br />
<span style="color: #ff0000;">white-space</span>:<span style="color: #0000ff;">nowrap</span>;<br />
<span style="color: #ff0000;">width</span>:<span style="color: #0000ff;">140px</span>;<br />
}</p>
</div>
</div>
<p>　<br />
　　目前我很确定的一点是,出现显示上的问题最根本的原因是高度没有控制好,因为加上line-height后,FireFox3那是根本没问题的,IE5.5-IE7下侧边栏全部恢复正常,可还有一个遗漏,那就是IE8...虽然IE8只是个测试版本,但既然都看到有问题了,难道随它去?! 这不是我的风格,我满脑子的解决,解决,解决! 经<a href="http://www.flywud.com/" target="_blank">Oyster</a>提醒,尝试着把line-height换成了height,以上代码变成这样:</p>
<div style="text-align: center;">
<div style="width: 450px; border: black 3px double; padding: 5px;">
<p align="left"><span style="color: #800000;">#ttf</span> <span style="color: #800000;">ul</span> <span style="color: #800000;">li</span> {<br />
<span style="color: #ff0000;">float</span>:<span style="color: #0000ff;">left</span>;<br />
<span style="color: #ff0000;">margin-right</span>:<span style="color: #0000ff;">10px</span>;<br />
<span style="color: #ff0000;">overflow</span>:<span style="color: #0000ff;">hidden</span>;<br />
<span style="color: #ff0000;">height</span>:<span style="color: #0000ff;">17px</span>;<br />
<span style="color: #ff0000;">_padding</span>:<span style="color: #0000ff;">6px 0 1px 18px</span>;<br />
<span style="color: #ff0000;">padding</span>:<span style="color: #0000ff;">5px 0 2px 18px</span>;<br />
<span style="color: #ff0000;">white-space</span>:<span style="color: #0000ff;">nowrap</span>;<br />
<span style="color: #ff0000;">width</span>:<span style="color: #0000ff;">140px</span>;<br />
}</p>
</div>
</div>
<p>　<br />
　　又多加了一句_padding,这是针对ie6专门写的hack代码,只在ie6下有效,如此一来,令我纠结几十个小时滴问题全面解决,hoho^o^. 有朋友说我这css写有够乱的,厄...初次接触这么多css的进阶知识,实在一时之间难以做到整洁,写的语句目标也是使得前端显示正常即可. 所以大家如果有好的建议,或者对以上css架构有不同的想法,欢迎留言让我观摩并学习.另外,<a href="http://genmicha.cn/" target="_blank">Chada</a>同学可以过来坐享其成了...</p>
<p>注: 如果对我写的语句不太明白什么意思,建议去<a href="http://www.w3school.com.cn/css/index.asp" target="_blank">这里</a>好好学习并查询下,或者<a href="http://google.cn/" target="_blank">谷歌</a>也是可以的.</p>
<h2  class="related_post_title">随便走走看看</h2><ul class="related_post"><li><a href="http://www.eemir3.com/2008/07/angry-with-sidebar-column-bug/" title="棘手且恼人的侧边栏分列显示bug">棘手且恼人的侧边栏分列显示bug</a> (57)</li><li><a href="http://www.eemir3.com/2008/10/improve-theme-in-use/" title="对使用中的Theme做了两点改进">对使用中的Theme做了两点改进</a> (128)</li><li><a href="http://www.eemir3.com/2008/11/improve-theme-in-use-again/" title="对使用中Theme继续做三处改进">对使用中Theme继续做三处改进</a> (86)</li><li><a href="http://www.eemir3.com/2008/10/wordpress-18-touch/" title="淫邪的WordPress十八摸">淫邪的WordPress十八摸</a> (101)</li><li><a href="http://www.eemir3.com/2008/09/flash-transparent-in-ff-ie/" title="让Flash在Firefox和IE下背景透明">让Flash在Firefox和IE下背景透明</a> (65)</li><li><a href="http://www.eemir3.com/2008/09/alipay-taobao-firefox-extension/" title="安装淘宝和支付宝的Firefox扩展">安装淘宝和支付宝的Firefox扩展</a> (80)</li><li><a href="http://www.eemir3.com/2008/08/less-and-less-external-call/" title="[WP优化]把外部调用减少再减少">[WP优化]把外部调用减少再减少</a> (76)</li><li><a href="http://www.eemir3.com/2008/08/share-moviecastle-theme/" title="分享本站现在使用的Theme">分享本站现在使用的Theme</a> (117)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eemir3.com/2008/07/the-problem-i-met-is-easy-to-fix/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>棘手且恼人的侧边栏分列显示bug</title>
		<link>http://www.eemir3.com/2008/07/angry-with-sidebar-column-bug/</link>
		<comments>http://www.eemir3.com/2008/07/angry-with-sidebar-column-bug/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 08:02:48 +0000</pubDate>
		<dc:creator>Yacca</dc:creator>
				<category><![CDATA[行业&博客]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[侧边栏]]></category>

		<guid isPermaLink="false">http://www.eemir3.com/index.php/2008/07/30/angry-with-sidebar-column-bug/</guid>
		<description><![CDATA[换个WordPress图放下,老子来求助了. 　　不得不承认WordPress的Theme搞起来是很麻烦滴,也不得不埋怨自己是有点千色色滴. 这两件既定的事实导致了Movie Castle的侧边栏出现了这样那样的变化,以及显示上的bugs. 　　先看几张图吧,我很郁闷ing,怕表述不清楚. Firefox3下侧边栏榜单的显示 IE6 IE7 IE8下的显示... 使用了同样的样式,分类则没有任何问题 友情链接则出现了一样的问题. FF3下正常,IE下出现问题 　　大家大概知道我的郁闷了吧...看了下源代码,没有任何问题,即产生这样的显示bugs99%是由于CSS样式造成的,具体问题在哪里,我不知道. Chada的站里边侧边栏在IE下显示也有问题,以下是截图,这间接说明我虽然精简了Chada的CSS样式代码,但这不是引起显示状况的主因,那究竟是什么呢?! 　　Sidebar.php文件中我是这么写滴: &#60;div class="widget_box"&#62;   &#60;h2&#62;title&#60;/h2&#62;   &#60;div id="ttf"&#62;     &#60;?php if(function_exists('ns_show_top_commentators')){ ?&#62;       &#60;ul&#62;       &#60;?php ns_show_top_commentators(); ?&#62;       &#60;/ul&#62;     &#60;?php } ?&#62;   &#60;/div&#62; &#60;/div&#62;   　　CSS中则是这么写滴: #ttf ul li { float:left; margin-right:10px; overflow:hidden; padding:5px 0 2px 15px; white-space:nowrap; [...]]]></description>
			<content:encoded><![CDATA[<p align="center"><a href="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54awordpress-logo-2.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54awordpress-logo-thumb.jpg" border="0" alt="wordpress-logo" width="204" height="182" /></a></p>
<p align="center">换个WordPress图放下,老子来求助了.</p>
<p><span id="more-1929"></span><br />
　　不得不承认WordPress的Theme搞起来是很麻烦滴,也不得不埋怨自己是有点千色色滴. 这两件既定的事实导致了<a title="Movie Castle" href="http://www.eemir3.com/" target="_blank">Movie Castle</a>的侧边栏出现了这样那样的变化,以及显示上的bugs.</p>
<p>　　先看几张图吧,我很郁闷ing,怕表述不清楚.</p>
<blockquote>
<p align="center"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54aimage-6.png" border="0" alt="image" width="343" height="130" /></p>
<p align="center"><span style="color: #ff0000;">Firefox3下侧边栏榜单的显示</span></p>
<p align="center"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54aimage-5.png" border="0" alt="image" width="349" height="155" /></p>
<p align="center"><span style="color: #ff0000;">IE6 IE7 IE8下的显示...</span></p>
<p align="center"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54aimage-12.png" border="0" alt="image" width="344" height="137" /></p>
<p align="center"><span style="color: #ff0000;">使用了同样的样式,分类则没有任何问题</span></p>
<p align="center"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54aimage-18.png" border="0" alt="image" width="337" height="218" /></p>
<p align="center"><span style="color: #ff0000;">友情链接则出现了一样的问题. FF3下正常,IE下出现问题</span></p>
</blockquote>
<p>　　大家大概知道我的郁闷了吧...看了下源代码,没有任何问题,即产生这样的显示bugs99%是由于CSS样式造成的,具体问题在哪里,我不知道. <a href="http://genmicha.cn/" target="_blank">Chada</a>的站里边侧边栏在IE下显示也有问题,以下是截图,这间接说明我虽然精简了Chada的CSS样式代码,但这不是引起显示状况的主因,那究竟是什么呢?!</p>
<blockquote>
<p align="center"><a href="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54aimage-20.png"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://www.eemir3.com/wp-content/uploads/2008/07/windowslivewriter28f0859e352e-d54aimage-thumb-6.png" border="0" alt="image" width="329" height="320" /></a></p>
</blockquote>
<p>　　<span style="color: #0080ff;">Sidebar.php文件中我是这么写滴:</span></p>
<div style="margin-left: 40px; width: 450px; border: black 3px double; padding: 5px;"><span style="color: #0000ff;">&lt;</span><span style="color: #800000;">div</span> <span style="color: #ff0000;">class</span>=<span style="color: #0000ff;">"widget_box"</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">  &lt;</span><span style="color: #800000;">h2</span><span style="color: #0000ff;">&gt;</span>title<span style="color: #0000ff;">&lt;/</span><span style="color: #800000;">h2</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;">"ttf"</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">    &lt;?</span>php <a style="color: #0000ff" href="http://www.php.net/if">if</a>(<a style="color: #ffa500" href="http://www.php.net/function_exists">function_exists</a>('<span style="color: #8b0000;">ns_show_top_commentators</span>')){ <span style="color: #0000ff;">?&gt;</span><br />
<span style="color: #0000ff;">      &lt;</span><span style="color: #800000;">ul</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">      &lt;?</span>php ns_show_top_commentators(); <span style="color: #0000ff;">?&gt;</span><br />
<span style="color: #0000ff;">      &lt;/</span><span style="color: #800000;">ul</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #0000ff;">    &lt;?</span>php } <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></div>
<p> </p>
<p>　　<span style="color: #0080ff;">CSS中则是这么写滴:</span></p>
<div style="margin-left: 40px; width: 450px; border: black 3px double; padding: 5px;"><span style="color: #800000;">#ttf</span> <span style="color: #800000;">ul</span> <span style="color: #800000;">li</span> {<br />
<span style="color: #ff0000;">float</span>:<span style="color: #0000ff;">left</span>;<br />
<span style="color: #ff0000;">margin-right</span>:<span style="color: #0000ff;">10px</span>;<br />
<span style="color: #ff0000;">overflow</span>:<span style="color: #0000ff;">hidden</span>;<br />
<span style="color: #ff0000;">padding</span>:<span style="color: #0000ff;">5px 0 2px 15px</span>;<br />
<span style="color: #ff0000;">white-space</span>:<span style="color: #0000ff;">nowrap</span>;<br />
<span style="color: #ff0000;">width</span>:<span style="color: #0000ff;">140px</span>;<br />
}</div>
<p> </p>
<p>　　问题在哪呢?!...请积极为我和Chada找出这个bug的缘由及IE下的hack方法,感激不尽.哦,对了,我已经放弃Widgets了,所有侧边栏选项都是直接写在Sidebar.php之中滴...</p>
<h2  class="related_post_title">随便走走看看</h2><ul class="related_post"><li><a href="http://www.eemir3.com/2008/07/the-problem-i-met-is-easy-to-fix/" title="昨天的CSS样式问题其实很容易解决">昨天的CSS样式问题其实很容易解决</a> (49)</li><li><a href="http://www.eemir3.com/2008/09/flash-transparent-in-ff-ie/" title="让Flash在Firefox和IE下背景透明">让Flash在Firefox和IE下背景透明</a> (65)</li><li><a href="http://www.eemir3.com/2008/11/improve-theme-in-use-again/" title="对使用中Theme继续做三处改进">对使用中Theme继续做三处改进</a> (86)</li><li><a href="http://www.eemir3.com/2008/10/improve-theme-in-use/" title="对使用中的Theme做了两点改进">对使用中的Theme做了两点改进</a> (128)</li><li><a href="http://www.eemir3.com/2008/10/wordpress-18-touch/" title="淫邪的WordPress十八摸">淫邪的WordPress十八摸</a> (101)</li><li><a href="http://www.eemir3.com/2008/09/alipay-taobao-firefox-extension/" title="安装淘宝和支付宝的Firefox扩展">安装淘宝和支付宝的Firefox扩展</a> (80)</li><li><a href="http://www.eemir3.com/2008/08/less-and-less-external-call/" title="[WP优化]把外部调用减少再减少">[WP优化]把外部调用减少再减少</a> (76)</li><li><a href="http://www.eemir3.com/2008/08/share-moviecastle-theme/" title="分享本站现在使用的Theme">分享本站现在使用的Theme</a> (117)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eemir3.com/2008/07/angry-with-sidebar-column-bug/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
	</channel>
</rss>

