Re: [問題] firefox和ie用css排版如何兼顧?
推
01/30 01:47,
01/30 01:47
推
01/30 18:28,
01/30 18:28
→
01/30 18:28,
01/30 18:28
宣告!DOCTYPE是為了讓瀏覽器切換到標準模式
1892 m 311/04 NelsonT □ [文件] DOCTYPE 是做啥用的
這篇有解釋
關於原作問的margin, padding的問題
在標準模式中 IE6才會以CSS2的規格去計算 Box model
(Firefox, IE6, Opera就會一樣了)
不過畫面還是不會全部一樣
Activating the Right Layout Mode Using the Doctype Declaration (英文)
http://hsivonen.iki.fi/doctype/
有詳細的解釋
和不同的宣告, 各種的瀏覽器, 會是哪種模式的表格
CSS Enhancements in Internet Explorer 6 (還是英文)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/
html/cssenhancements.asp
縮址 http://0rz.net/4310P
說明IE6對CSS的加強支援,
在標準模式(Standards Mode)和兼容模式(Quirks Mode)中對於CSS解釋的差異
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.160.86.205
※ 編輯: xiphoid 來自: 218.160.86.205 (01/30 21:03)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 6 篇):