作者aceone ()
看板Web_Design
标题Re: [问题] CSS Firefox可以看 IE不行
时间Wed Oct 17 23:47:58 2007
※ 引述《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
1F:推 Seawoods:喔喔 原来如此 谢谢 10/18 03:13