<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>《解决图片撑破页面的问题》的评论</title>
	<link>http://yskin.net/2006/08/max-width.html</link>
	<description>计算机技术，生活</description>
	<pubDate>Sat, 22 Nov 2008 03:26:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>程序员</title>
		<link>http://yskin.net/2006/08/max-width.html#comment-10086</link>
		<dc:creator>程序员</dc:creator>
		<pubDate>Tue, 12 Jun 2007 08:46:55 +0000</pubDate>
		<guid>http://yskin.net/2006/08/max-width.html#comment-10086</guid>
		<description>恢复爱狗：
我也碰到那个情况，在IE里。
我把表达式里“:”后面的值换成了"auto"，问题就解决了。


5 爱狗 
2006-9-8 9:37 下午 
我没你那么幸运,所有小图片全放大到了500的宽度...</description>
		<content:encoded><![CDATA[<p>恢复爱狗：<br />
我也碰到那个情况，在IE里。<br />
我把表达式里“:”后面的值换成了&quot;auto&quot;，问题就解决了。</p>
<p>5 爱狗<br />
2006-9-8 9:37 下午<br />
我没你那么幸运,所有小图片全放大到了500的宽度...</p>
]]></content:encoded>
	</item>
	<item>
		<title>ourr &#187; links for 2006-12-04</title>
		<link>http://yskin.net/2006/08/max-width.html#comment-4592</link>
		<dc:creator>ourr &#187; links for 2006-12-04</dc:creator>
		<pubDate>Mon, 04 Dec 2006 23:34:37 +0000</pubDate>
		<guid>http://yskin.net/2006/08/max-width.html#comment-4592</guid>
		<description>[...] 解决图片撑破页面的问题 - Yskin&#8217;s Blog (tags: wordpress 图片) [...]</description>
		<content:encoded><![CDATA[<p>[...] 解决图片撑破页面的问题 - Yskin's Blog (tags: wordpress 图片) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>好吃不如饺子 : Blog Archive : links for 2006-12-04</title>
		<link>http://yskin.net/2006/08/max-width.html#comment-4586</link>
		<dc:creator>好吃不如饺子 : Blog Archive : links for 2006-12-04</dc:creator>
		<pubDate>Mon, 04 Dec 2006 18:20:30 +0000</pubDate>
		<guid>http://yskin.net/2006/08/max-width.html#comment-4586</guid>
		<description>[...] 解决图片撑破页面的问题 (tags: wordpress) [...]</description>
		<content:encoded><![CDATA[<p>[...] 解决图片撑破页面的问题 (tags: wordpress) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>爱狗</title>
		<link>http://yskin.net/2006/08/max-width.html#comment-428</link>
		<dc:creator>爱狗</dc:creator>
		<pubDate>Sat, 09 Sep 2006 05:05:26 +0000</pubDate>
		<guid>http://yskin.net/2006/08/max-width.html#comment-428</guid>
		<description>所以我也奇怪啊....


具体css代码:

.post img{
	border: 1px solid #85927C;
	padding: 3px;
	margin: 5px 0 5px 0;
     max-width: 500px;
    width: expression( this.width &#62; 500 ? "500px" : (this.width "px") );
}</description>
		<content:encoded><![CDATA[<p>所以我也奇怪啊....</p>
<p>具体css代码:</p>
<p>.post img{<br />
	border: 1px solid #85927C;<br />
	padding: 3px;<br />
	margin: 5px 0 5px 0;<br />
     max-width: 500px;<br />
    width: expression( this.width &gt; 500 ? &quot;500px&quot; : (this.width &quot;px&quot;) );<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>yskin</title>
		<link>http://yskin.net/2006/08/max-width.html#comment-425</link>
		<dc:creator>yskin</dc:creator>
		<pubDate>Sat, 09 Sep 2006 03:00:13 +0000</pubDate>
		<guid>http://yskin.net/2006/08/max-width.html#comment-425</guid>
		<description>会么？代码里有判断width是否大于500呀。

js的解决办法是很不错的，不过Firefox和Opera里用max-width是最好的。让那段js只在IE里运行吧。

另外那段js代码里延迟执行的方法很值得参考。</description>
		<content:encoded><![CDATA[<p>会么？代码里有判断width是否大于500呀。</p>
<p>js的解决办法是很不错的，不过Firefox和Opera里用max-width是最好的。让那段js只在IE里运行吧。</p>
<p>另外那段js代码里延迟执行的方法很值得参考。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
