看板 Web_Design 關於我們 聯絡資訊
※ 引述《Seawoods (無言)》之銘言: : as title : http://www.cssplay.co.uk/menu/clip_gallery.html#nogo : It also shows that IE6 gets it wrong with its clip style. If you use comma : separators as per the specification then the clip doesn't work. But if you : use space separators as is normal for padding, margin and borders then IE6 : gets it right. Firefox doesn't mind either way. : 請問上面那段是在說什麼 看不懂... 翻譯一下~ 這也顯示了IE6使用置入(clip)時會出錯, 用逗號來分隔每個數值的設定的話會行不通, 但如果你用一般的空白分隔,就像邊界、留白和邊框設定那樣, IE6就會顯示正常。Firefox則是兩種方式都吃。 意思是說~clip這個屬性, 可以寫成#clipDiv{clip:rect(num,num,num,num);} (很多書跟網路上都降寫喔) 但是在IE6會出錯, 所以要像{margin:num num num num}寫成(num num num num) (p.s.沒有margin:num,num,num)的寫法喔) -- 我是printscreen控 http://picasaweb.google.com/macsoho/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.71.192.161
Seawoods:喔喔 原來如此 謝謝 10/18 03:13