<?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; IE8</title>
	<atom:link href="http://www.eemir3.com/tag/ie8/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>
	</channel>
</rss>

