Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

My company is dropping support of IE6 and I just realize that we can use a set of great features.
Is there a list of CSS, Javascript features which we can use with IE6 RIP?

share|improve this question

migrated from stackoverflow.com Nov 15 '10 at 16:33

This question came from our site for professional and enthusiast programmers.

    
Congratulations :D Are you guys organizing a celebration? –  Šime Vidas Nov 14 '10 at 1:26
    
Yes of cause:) 18th evening we will rock EZ5 –  Eldar Djafarov Nov 15 '10 at 3:23
add comment

5 Answers

up vote 5 down vote accepted

Unsupported in IE6 (this is not a complete list):

  • child selector ( div > p )
  • adjacent sibling selector ( h1 + p )
  • general sibling selector ( h1 ~ p )
  • chained class selectors ( .class1.class2 )
  • attribute selector ( a[href] )
  • descendant selector after :hover pseudo-class ( div:hover span )
  • chained pseudo-classes ( a:first-child:hover )
  • :hover on non-anchor elements
  • :first-child
  • "virtual dimensions" (dimensions determined by top, right, left, bottom when position: absolute )
  • min-height, min-width
  • max-height, max-width
  • transparent border color
  • position: fixed
  • background-attachment: fixed works only on the root element
share|improve this answer
add comment

I find When Can I Use... to be a good resource for knowing what is available depending on what browser ranges I wish to support.

share|improve this answer
    
Great Link! Thank you. –  Eldar Djafarov Nov 15 '10 at 3:29
add comment

Lots of IE6 bugs/behaviours are still prevalent in IE7. Some bugs that were fixed:

  • basic alpha-transparent png support
  • css child selector
  • !important more properly works
  • :first-letter support
  • min-height
  • partial click bug
  • window.XMLHttpRequest became present, instead of ActiveXObject
  • abbr tag is recognized
  • select z-index bug is resolved as it's become window-less

Some more listed @:

There really aren't any new features. IE7 is basically what IE6 should've been, and IE8 IE7, and so forth. The only version worth truly getting excited is IE9, which has a huge amount of modern spec support compared to the prior versions.

share|improve this answer
    
+1: (OPINION ALERT!) IE7 was a great improvement over IE6 in so many ways (native XMLHttpRequest and various bugs, primarily), but I think 8 and then 9 are also great improvements over 7. Will we be lamenting those (needlessly, in this case) sticking with IE7 in the years to come? ;) –  user2280 Nov 14 '10 at 0:21
    
Another opinion alert: IE8 is the new IE6. It's CSS3 support is so limited that you still have to do a bunch of extra coding to do something that can easily be done with CSS3. IE9 shows great promise though. –  Gert G Nov 14 '10 at 0:26
    
@Gert "IE8 is the new IE6" - Yea, that is pretty obvious to everyone :) I came up with that exact phrase earlier this year. –  Šime Vidas Nov 14 '10 at 1:25
1  
@Šime - I'm glad you feel confident enough to speak for every Web developer in the world. –  Gert G Nov 14 '10 at 3:18
    
Unfortunately, until IE changes to automatic updates like the other browsers, every new version of IE is the new IE6. –  Virtuosi Media Nov 20 '10 at 2:30
add comment

What i'm most excited to be able to use, or a few things that since I can't use really make me twitchy at the css (and sometimes js) compromises which are required (in order):

  1. child selector (tag > tag, no more reseting UL/LI styles!)
  2. class chaining (class1.class2, less js/css!)
  3. first-child (no more class="last" or first!)
  4. :hover on non-anchors (what up web apps!)

Luck you!

share|improve this answer
add comment

If you're already using jQuery you could always consult this function to see if you should use a feature ;)

http://api.jquery.com/jQuery.support/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.