我决定不适应IE6 - 我可以使用什么美味的CSS美味? [英] I've decided not to cater for IE6 - What tasty CSS treats can I use?
问题描述
好的,首先,这不是一个关于我是否应该为IE6服务的讨论。我确定有数以百计的线程上S.O.
让我们来看一下这个例子,我们可以在这里讨论它的优点,缺点,市场份额,javascript shivs以及所有其他的东西。我把两个手指放到
IE6,并忽略它的存在 -
现在我可以在
方式中做不同的样式我的页面吗?
伪选择器?
父子选择器?
其他整洁的东西?
放弃IE6会带来什么新的自由? / p>
我知道你们中的一些人会瘙痒告诉我为什么我应该支持ie6或关于js修复,这意味着我可以使用高级选择器等等 -
您现在可以开始使用网络标准...
使用IE6,你可以开始使用很多很好的东西。
新功能
$ b $ b
- 透明PNG(完整24位!)
- 使用child选择器
div> p
- 兄弟姐妹的用户选择器
p + input
- min / max-width / height
- :first -line
- :第一胎
- :hover(所有元素)
- float:right
- position:fixed
- 属性选择器(输入[type =text])
- 再次信任z-index
在IE7中修复的错误:
- Peekaboo Bug
- Internet Explorer和展开式框问题
- Quirky Percentages
- 线高错误
- 边框混乱
- 消失的列表背景错误
- Guillotine Bug
- Unscrollable Content错误
- 重复字符Bug
- IE和Italics
- 双浮点-Margin错误
- 重复缩进错误
- 三像素文字慢跑
- < a href =http://www.positioniseverything.net/explorer/creep.html>爬行文字错误
- 发出第一个字母错误
- Phantom box bug
- 31样式表限制 - 虽然,您不应该真的受此影响,否则您还有其他问题!
非技术性的事情:
- 节省时间和钱
- 丢弃90%的CSS黑客
Ok firstly, this is not a discussion on whether I should be catering for IE6. I'm sure there's hundreds of threads on S.O. where you can discuss the pros, cons, market shares, javascript shivs and all the other stuff that comes with it.
Let's say I've put two fingers up to IE6 and am ignoring its existence -
what can I now do differently in the way I style my pages?
Pseudo-selectors?
Parent/Child selectors?
Other tidy stuff?
What are the new freedoms that come with abandoning IE6?
I know some of you will be itching to tell me why i should support ie6 or about js fixes that mean I can use advanced selectors etc etc - Please don't waste your/my/our time!
You can now start to use web standards...
With IE6 out of the way, you can start to use loads of really nice things. Below is a list of things specific to IE6.
New features
- Transparent PNGs (full 24 bit!)
- Use of child selectors
div > p
- User of sibling selectors
p + input
- min/max-width/height
- :first-line
- :first-child
- :hover (all elements)
- float: right
- position: fixed
- Attribute Selectors (input[type="text"])
- Trust z-index again
Bugs fixed in IE7:
- Peekaboo Bug
- Internet Explorer and Expanding Box Problem
- Quirky Percentages
- Line-height bug
- Border Chaos
- Disappearing List-Background bug
- Guillotine Bug
- Unscrollable Content bug
- Duplicate Characters Bug
- IE and Italics
- Doubled Float-Margin bug
- Duplicate Indent bug
- Three pixel text jog
- Creeping Text bug
- Missing First letter bug
- Phantom box bug
- 31 style sheet limit - although, you shouldn't really be affected by this, else you've got other problems!
Non-technical things:
- Save time and money
- Throw away 90% of CSS hacks
这篇关于我决定不适应IE6 - 我可以使用什么美味的CSS美味?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!