<?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>Comments on: Firefox Input Button Line-Height Bug</title>
	<atom:link href="http://blog.imbolo.com/firefox-input-button-line-height-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/</link>
	<description>一个设计爱好者杂七杂八的博客</description>
	<lastBuildDate>Tue, 07 Feb 2012 07:35:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: LOO2K</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-11109</link>
		<dc:creator>LOO2K</dc:creator>
		<pubDate>Mon, 05 Sep 2011 03:05:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-11109</guid>
		<description>或许代码应该这样写以兼容其他的浏览器
input#button {
	border: 2px solid #06f;
	color: #06f;
	background-color: #6cf;
	font: bold 12px Arial, Helvetica, sans-serif;
	line-height: 15px;
	padding: 18px 6px;
}
把所有浏览器的行高都设置成 15px 然后用 padding 控制会好一点吧
但是，如果整个 input 或者 button 的高度需要小于 15 px 该怎么解决呢 = =、</description>
		<content:encoded><![CDATA[<p>或许代码应该这样写以兼容其他的浏览器<br />
input#button {<br />
	border: 2px solid #06f;<br />
	color: #06f;<br />
	background-color: #6cf;<br />
	font: bold 12px Arial, Helvetica, sans-serif;<br />
	line-height: 15px;<br />
	padding: 18px 6px;<br />
}<br />
把所有浏览器的行高都设置成 15px 然后用 padding 控制会好一点吧<br />
但是，如果整个 input 或者 button 的高度需要小于 15 px 该怎么解决呢 = =、</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Авторс</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-8005</link>
		<dc:creator>Авторс</dc:creator>
		<pubDate>Sun, 30 Jan 2011 15:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-8005</guid>
		<description>Ti spizdil kontent, suka!</description>
		<content:encoded><![CDATA[<p>Ti spizdil kontent, suka!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bolo</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5257</link>
		<dc:creator>bolo</dc:creator>
		<pubDate>Thu, 04 Mar 2010 04:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5257</guid>
		<description>&lt;a href=&quot;#comment-5251&quot; rel=&quot;nofollow&quot;&gt;@zwwooooo &lt;/a&gt; 
会处理就行了，哈哈
&lt;a href=&quot;#comment-5254&quot; rel=&quot;nofollow&quot;&gt;@Y.Jiajia &lt;/a&gt; 
我想说的就是那个开发人员没有尝试对input进行重定义，一次浏览器都根据自己的默认属性进行渲染了</description>
		<content:encoded><![CDATA[<p><a href="#comment-5251" rel="nofollow">@zwwooooo </a><br />
会处理就行了，哈哈<br />
<a href="#comment-5254" rel="nofollow">@Y.Jiajia </a><br />
我想说的就是那个开发人员没有尝试对input进行重定义，一次浏览器都根据自己的默认属性进行渲染了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Y.Jiajia</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5254</link>
		<dc:creator>Y.Jiajia</dc:creator>
		<pubDate>Wed, 03 Mar 2010 07:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5254</guid>
		<description>刚才又查了一下，应该是这样：line-height可以作用于block级时，是当block元素需要内部可以包含inline元素时。line-height作用于inline级元素时相当于“height”。但是在W3C里input的定义是：可以当作inline也可以当作block。这样说来，就比较有意思了。</description>
		<content:encoded><![CDATA[<p>刚才又查了一下，应该是这样：line-height可以作用于block级时，是当block元素需要内部可以包含inline元素时。line-height作用于inline级元素时相当于“height”。但是在W3C里input的定义是：可以当作inline也可以当作block。这样说来，就比较有意思了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zwwooooo</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5251</link>
		<dc:creator>zwwooooo</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5251</guid>
		<description>我忘了怎么定义的了，老是遇到时才去处理</description>
		<content:encoded><![CDATA[<p>我忘了怎么定义的了，老是遇到时才去处理</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bolo</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5250</link>
		<dc:creator>bolo</dc:creator>
		<pubDate>Wed, 03 Mar 2010 06:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5250</guid>
		<description>&lt;a href=&quot;#comment-5238&quot; rel=&quot;nofollow&quot;&gt;@Y.Jiajia &lt;/a&gt; 
的确是，很多初学者搞不清一些标签的默认级别，结果有的重复定义了
&lt;a href=&quot;#comment-5239&quot; rel=&quot;nofollow&quot;&gt;@卢松松 &lt;/a&gt; 
平时的开发中也会遇到这个问题的
&lt;a href=&quot;#comment-5243&quot; rel=&quot;nofollow&quot;&gt;@welee &lt;/a&gt; 
这是没有办法的办法了
&lt;a href=&quot;#comment-5244&quot; rel=&quot;nofollow&quot;&gt;@A.shun &lt;/a&gt; 
那就重写一下样式吧，这两个浏览器还是很好兼容的</description>
		<content:encoded><![CDATA[<p><a href="#comment-5238" rel="nofollow">@Y.Jiajia </a><br />
的确是，很多初学者搞不清一些标签的默认级别，结果有的重复定义了<br />
<a href="#comment-5239" rel="nofollow">@卢松松 </a><br />
平时的开发中也会遇到这个问题的<br />
<a href="#comment-5243" rel="nofollow">@welee </a><br />
这是没有办法的办法了<br />
<a href="#comment-5244" rel="nofollow">@A.shun </a><br />
那就重写一下样式吧，这两个浏览器还是很好兼容的</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 篮球博客</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5247</link>
		<dc:creator>篮球博客</dc:creator>
		<pubDate>Wed, 03 Mar 2010 01:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5247</guid>
		<description>这。。。我看不懂。。不过没想到你会研究这些哈</description>
		<content:encoded><![CDATA[<p>这。。。我看不懂。。不过没想到你会研究这些哈</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A.shun</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5244</link>
		<dc:creator>A.shun</dc:creator>
		<pubDate>Tue, 02 Mar 2010 12:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5244</guid>
		<description>标准不一确实很苦恼。
我博客上的搜索框里面的文本，在FF和op下就位置不同。。吐血</description>
		<content:encoded><![CDATA[<p>标准不一确实很苦恼。<br />
我博客上的搜索框里面的文本，在FF和op下就位置不同。。吐血</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: welee</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5243</link>
		<dc:creator>welee</dc:creator>
		<pubDate>Tue, 02 Mar 2010 12:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5243</guid>
		<description>我也是用 padding 来处理。</description>
		<content:encoded><![CDATA[<p>我也是用 padding 来处理。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 卢松松</title>
		<link>http://blog.imbolo.com/firefox-input-button-line-height-bug/comment-page-1/#comment-5239</link>
		<dc:creator>卢松松</dc:creator>
		<pubDate>Tue, 02 Mar 2010 06:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.imbolo.com/?p=1705#comment-5239</guid>
		<description>哥  你研究是太细致了</description>
		<content:encoded><![CDATA[<p>哥  你研究是太细致了</p>
]]></content:encoded>
	</item>
</channel>
</rss>

