<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[CSS] 觀察 IE6 與 Firefox 等瀏覽器相容性：以美寶首頁為例</title>
        <description>



1. 預設 body margin 不一樣

 IE6 預設 body margin 上下是 15px，左右是 10px。Firefox 等瀏覽器上下左右四邊的預設 body margin 皆為 8px。

http://www.quirksmode.org/bugreports/archives/2005/10/IE6_input_field_topbottom_unwanted_margin.html

2. 指定 DIV 高度(height)時，最小高度不同

例如：&amp;lt;div style=&quot;height:5px&quot;&gt;&amp;amp;nbsp;&amp;lt;/div&gt; 這個 DIV 的高度在 Firefox 中就是指定的5px，但在 IE6 中是 19px。

DIV最小高度的差異來自 IE6 不會將DIV高度設為低於文字內容之高度(和 font-size 有關))。IE6與其他瀏覽器預設字體大小基本皆為16px，但當指定DIV高度小於19px時，IE6 不會理會，需要以設定 line-height 或縮小 font-size 來達到縮小 DIV 高度。</description>
        <link>http://mepopedia.com/forum/read.php?804,15091,15091#msg-15091</link>
        <lastBuildDate>Mon, 11 May 2026 21:04:17 +0800</lastBuildDate>
        <generator>Phorum 5.2.7</generator>
        <item>
            <guid>http://mepopedia.com/forum/read.php?804,15091,15091#msg-15091</guid>
            <title>[CSS] 觀察 IE6 與 Firefox 等瀏覽器相容性：以美寶首頁為例</title>
            <link>http://mepopedia.com/forum/read.php?804,15091,15091#msg-15091</link>
            <description><![CDATA[<div align=center><img src="http://a5.sphotos.ak.fbcdn.net/hphotos-ak-snc6/284795_10150274533913729_708813728_7491859_6273474_n.jpg"></div>
<br />
<div align=center><img src="http://a1.sphotos.ak.fbcdn.net/hphotos-ak-snc6/270647_10150274537723729_708813728_7491920_5990258_n.jpg"></div>
<br />
1. 預設 body margin 不一樣<br />
<br />
 IE6 預設 body margin 上下是 15px，左右是 10px。Firefox 等瀏覽器上下左右四邊的預設 body margin 皆為 8px。<br />
<br />
http://www.quirksmode.org/bugreports/archives/2005/10/IE6_input_field_topbottom_unwanted_margin.html<br />
<br />
2. 指定 DIV 高度(height)時，最小高度不同<br />
<br />
例如：&lt;div style="height:5px">&amp;nbsp;&lt;/div> 這個 DIV 的高度在 Firefox 中就是指定的5px，但在 IE6 中是 19px。<br />
<br />
DIV最小高度的差異來自 IE6 不會將DIV高度設為低於文字內容之高度(和 font-size 有關))。IE6與其他瀏覽器預設字體大小基本皆為16px，但當指定DIV高度小於19px時，IE6 不會理會，需要以設定 line-height 或縮小 font-size 來達到縮小 DIV 高度。]]></description>
            <dc:creator>HP</dc:creator>
            <category>網頁設計與語法（HTML/CSS）</category>
            <pubDate>Sun, 17 Jul 2011 02:17:17 +0800</pubDate>
        </item>
    </channel>
</rss>
