<?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>评论：图片垂直居中的使用技巧</title>
	<atom:link href="http://www.planabc.net/2008/05/26/img_vertical_center_solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/</link>
	<description>落草为根—专注前端技术&#38;&#38;关注用户体验</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：成阳</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-6003</link>
		<dc:creator>成阳</dc:creator>
		<pubDate>Thu, 14 Jan 2010 11:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-6003</guid>
		<description>在IE6下貌似不是完全的居中</description>
		<content:encoded><![CDATA[<p>在IE6下貌似不是完全的居中</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：用display:inline-block做产品列表 &#171; 99css</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-5674</link>
		<dc:creator>用display:inline-block做产品列表 &#171; 99css</dc:creator>
		<pubDate>Sat, 19 Dec 2009 11:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-5674</guid>
		<description>[...] 如果li中只有img，vertical-align:middle可以实现未知高度图片列表垂直居中，比如Picasa图片列表的效果（单个图片垂直居中情看怿飞的《图片垂直居中的使用技巧 》，不过个人认为这个通常只会出现在面试题中:P） [...]</description>
		<content:encoded><![CDATA[<p>[...] 如果li中只有img，vertical-align:middle可以实现未知高度图片列表垂直居中，比如Picasa图片列表的效果（单个图片垂直居中情看怿飞的《图片垂直居中的使用技巧 》，不过个人认为这个通常只会出现在面试题中:P） [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：图片垂直水平居中方法的改进 - 漫步中的Tcer&#8230;</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-5397</link>
		<dc:creator>图片垂直水平居中方法的改进 - 漫步中的Tcer&#8230;</dc:creator>
		<pubDate>Sun, 29 Nov 2009 07:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-5397</guid>
		<description>[...] 此方法是在圆心提供的方法之上进行的改进(修复了一个IE6,7下的bug)&#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] 此方法是在圆心提供的方法之上进行的改进(修复了一个IE6,7下的bug)&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：摇滚肉包子</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-5352</link>
		<dc:creator>摇滚肉包子</dc:creator>
		<pubDate>Tue, 24 Nov 2009 08:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-5352</guid>
		<description>感觉这样的做法，还是有待商榷。不确定的因素太多了。或许考虑js处理是个更好的方法，复杂的hack总是难以读懂，并且可能带来潜在的不确定性。</description>
		<content:encoded><![CDATA[<p>感觉这样的做法，还是有待商榷。不确定的因素太多了。或许考虑js处理是个更好的方法，复杂的hack总是难以读懂，并且可能带来潜在的不确定性。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：找工作中</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-4798</link>
		<dc:creator>找工作中</dc:creator>
		<pubDate>Sat, 10 Oct 2009 08:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-4798</guid>
		<description>也许你这个方法能解决你们要解决的居中问题，不过你说结构干净，个人认为：



比你上面的要干净多了。当然如果您要说其他占有率百分之零点几的浏览器不支持position这个属性的话...哈哈纯属个人意见哈，请指教！</description>
		<content:encoded><![CDATA[<p>也许你这个方法能解决你们要解决的居中问题，不过你说结构干净，个人认为：</p>
<p>比你上面的要干净多了。当然如果您要说其他占有率百分之零点几的浏览器不支持position这个属性的话&#8230;哈哈纯属个人意见哈，请指教！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：textbox</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-4028</link>
		<dc:creator>textbox</dc:creator>
		<pubDate>Mon, 10 Aug 2009 06:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-4028</guid>
		<description>这个方法很不错,但我在实施过程中碰到一个非常不爽的问题就是,FF下一旦图片的宽高超过盒子设置的大小,外面的盒子就自动变大了.晕死......</description>
		<content:encoded><![CDATA[<p>这个方法很不错,但我在实施过程中碰到一个非常不爽的问题就是,FF下一旦图片的宽高超过盒子设置的大小,外面的盒子就自动变大了.晕死&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：sw</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3838</link>
		<dc:creator>sw</dc:creator>
		<pubDate>Thu, 16 Jul 2009 03:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3838</guid>
		<description>FF下浮动box失效～···</description>
		<content:encoded><![CDATA[<p>FF下浮动box失效～···</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Marshane's blog &#187; 图片垂直居中的使用技巧</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3770</link>
		<dc:creator>Marshane's blog &#187; 图片垂直居中的使用技巧</dc:creator>
		<pubDate>Wed, 01 Jul 2009 04:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3770</guid>
		<description>[...] 本文来自怿飞    分类: html/css 标签: html/css        评论 (0) Trackbacks (0) 发表评论 Trackback [...]</description>
		<content:encoded><![CDATA[<p>[...] 本文来自怿飞    分类: html/css 标签: html/css        评论 (0) Trackbacks (0) 发表评论 Trackback [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：colinivy</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3374</link>
		<dc:creator>colinivy</dc:creator>
		<pubDate>Mon, 11 May 2009 02:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3374</guid>
		<description>用不同字体测试了下，真的与字体有关系

Verdana字体，字体大小/高度 约为82.4% 
Times New Roman 字体，字体大小/高度约为90%</description>
		<content:encoded><![CDATA[<p>用不同字体测试了下，真的与字体有关系</p>
<p>Verdana字体，字体大小/高度 约为82.4%<br />
Times New Roman 字体，字体大小/高度约为90%</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Mask</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3341</link>
		<dc:creator>Mask</dc:creator>
		<pubDate>Wed, 06 May 2009 09:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3341</guid>
		<description>这个做法确实在结构上很简洁！！ 不过麻烦的就是高度变了css就得变，不过也不错了~</description>
		<content:encoded><![CDATA[<p>这个做法确实在结构上很简洁！！ 不过麻烦的就是高度变了css就得变，不过也不错了~</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：PerfectWorks</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3316</link>
		<dc:creator>PerfectWorks</dc:creator>
		<pubDate>Sat, 02 May 2009 06:19:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3316</guid>
		<description>&lt;strong&gt;用background属性实现任意图片垂直居中显示...&lt;/strong&gt;

本文方法使用了W3C不推荐的style属性，标准狂人请绕道。
为什么要垂直居中
这两天在帮同学做一个在线相册程序，类似于Picasaweb，做到图片居中显示这里做不下去了，example 1.html。不能垂直居...</description>
		<content:encoded><![CDATA[<p><strong>用background属性实现任意图片垂直居中显示&#8230;</strong></p>
<p>本文方法使用了W3C不推荐的style属性，标准狂人请绕道。<br />
为什么要垂直居中<br />
这两天在帮同学做一个在线相册程序，类似于Picasaweb，做到图片居中显示这里做不下去了，example 1.html。不能垂直居&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：股吧</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3235</link>
		<dc:creator>股吧</dc:creator>
		<pubDate>Sun, 19 Apr 2009 16:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3235</guid>
		<description>再次学习了！收藏</description>
		<content:encoded><![CDATA[<p>再次学习了！收藏</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：CSS置中問題的解決 &#171; 網路人‧觀察與學習</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3102</link>
		<dc:creator>CSS置中問題的解決 &#171; 網路人‧觀察與學習</dc:creator>
		<pubDate>Thu, 02 Apr 2009 05:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3102</guid>
		<description>[...] 因此衍生下列解決方案,根據google的爬文,關於圖片的垂直居中方式,在中國大陸有個不錯的思路可以藉鑑. [...]</description>
		<content:encoded><![CDATA[<p>[...] 因此衍生下列解決方案,根據google的爬文,關於圖片的垂直居中方式,在中國大陸有個不錯的思路可以藉鑑. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：yoyo</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-3050</link>
		<dc:creator>yoyo</dc:creator>
		<pubDate>Wed, 18 Mar 2009 07:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-3050</guid>
		<description>学习了啊，呵呵呵~希望有机会可以多交流。</description>
		<content:encoded><![CDATA[<p>学习了啊，呵呵呵~希望有机会可以多交流。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：longbill</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-2758</link>
		<dc:creator>longbill</dc:creator>
		<pubDate>Wed, 11 Feb 2009 08:25:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-2758</guid>
		<description>哈哈，收藏了。我以前用的方法是把图片做成div的background-image，来实现居中的。</description>
		<content:encoded><![CDATA[<p>哈哈，收藏了。我以前用的方法是把图片做成div的background-image，来实现居中的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Srandy</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-2377</link>
		<dc:creator>Srandy</dc:creator>
		<pubDate>Tue, 30 Dec 2008 09:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-2377</guid>
		<description>爬出来说，今天发现IE7下可以用外容器等高的line-height实现居中～</description>
		<content:encoded><![CDATA[<p>爬出来说，今天发现IE7下可以用外容器等高的line-height实现居中～</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：标准浏览器实现图片垂直居中的另一方法 &#124; &#60;Design/&#62;</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-1937</link>
		<dc:creator>标准浏览器实现图片垂直居中的另一方法 &#124; &#60;Design/&#62;</dc:creator>
		<pubDate>Fri, 07 Nov 2008 06:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-1937</guid>
		<description>[...] 后，在主流浏览器上都可以实现居中。 再加上对IE 6 hack之后就可以实现兼容主流浏览器了。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 后，在主流浏览器上都可以实现居中。 再加上对IE 6 hack之后就可以实现兼容主流浏览器了。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Lyuba</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-1911</link>
		<dc:creator>Lyuba</dc:creator>
		<pubDate>Thu, 06 Nov 2008 03:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-1911</guid>
		<description>Blin ... really beautifully written! All this is so familiar ... and truthfully!</description>
		<content:encoded><![CDATA[<p>Blin &#8230; really beautifully written! All this is so familiar &#8230; and truthfully!</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：CSS图片垂直居中&#160;&#8212;&#160;企鹅</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-1809</link>
		<dc:creator>CSS图片垂直居中&#160;&#8212;&#160;企鹅</dc:creator>
		<pubDate>Tue, 28 Oct 2008 01:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-1809</guid>
		<description>[...] 该文转自http://www.planabc.net/2008/05/26/img_vertical_center_solution/          在曾经的 淘宝UED 招聘 中有这样一道题目： “使用纯CSS实现未知尺寸的图片(但高宽都小于200px)在200px的正方形容器中水平和垂直居中。” [...]</description>
		<content:encoded><![CDATA[<p>[...] 该文转自http://www.planabc.net/2008/05/26/img_vertical_center_solution/          在曾经的 淘宝UED 招聘 中有这样一道题目： “使用纯CSS实现未知尺寸的图片(但高宽都小于200px)在200px的正方形容器中水平和垂直居中。” [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：lhnlj2</title>
		<link>http://www.planabc.net/2008/05/26/img_vertical_center_solution/comment-page-1/#comment-1296</link>
		<dc:creator>lhnlj2</dc:creator>
		<pubDate>Mon, 25 Aug 2008 07:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=71#comment-1296</guid>
		<description>不错的教程，以前还天天在找这些东西。。今天更加理解了。</description>
		<content:encoded><![CDATA[<p>不错的教程，以前还天天在找这些东西。。今天更加理解了。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
