Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthormas_ab
    • CommentTimeJan 7th 2006
     permalink
    Regarding IE7,

    Some people told me that it will be able to read the "> " child selector hacks that I applied in some of my projects.

    Since you are more experienced CSS designer than I am, I'd like to hear your thoughts on that matter. What should I do?

    TIA,
    • CommentAuthorNick Presta
    • CommentTimeJan 7th 2006 edited
     permalink
    Well, instead of using dirty CSS hacks, you should be using conditional statements.

    <!--[if IE lt 7]>
    <style type="text/css">
    ...
    </style>
    <![end if]-->

    Or even place a link to an alternative stylesheet (although you shouldn't have to do that).

    All I can suggest is to take our your CSS hacks and add this,

    <!--[if IE lt 7]>
    <script type="text/javascript" src="path/to/ie7.js"></script>
    <![end if]-->

    That way, IE7 will be fine when it views your page and anything less than IE7 will get the benefits of IE7.js.
    •  
      CommentAuthormas_ab
    • CommentTimeJan 7th 2006
     permalink
    Nick, great pointers, as usual!

    Would you like to explain more about that ie7.js and how it can make IE7- get the benefits?
    • CommentAuthorNick Presta
    • CommentTimeJan 7th 2006 edited
     permalink
    IE7 is a javascript file made to emulate behavior that will make IE < 7 more up-to-date with web standards, specifically CSS (as well as PNG transparency and such).

    You can download IE7.js here:
    http://dean.edwards.name/IE7/

    And here is the list of what IE7.js will do:
    http://dean.edwards.name/IE7/overview/

    And get the list of compatibility here:
    http://dean.edwards.name/IE7/compatibility/

    You may also want to read how to use it (specifically about using PNGs with transparency):
    http://dean.edwards.name/IE7/usage/
    •  
      CommentAuthormas_ab
    • CommentTimeJan 7th 2006
     permalink
    Cool :)

    Thanks, Nick!
    •  
      CommentAuthorSpookyET
    • CommentTimeJan 7th 2006
     permalink
    I wonder how slow it is. Is it as slow as sIFR's parser?
    •  
      CommentAuthorSpookyET
    • CommentTimeJan 7th 2006
     permalink
    Is this only meant for IE, or can be used with other browsers: Opera?
    •  
      CommentAuthornifkin
    • CommentTimeJan 7th 2006
     permalink
    i believe it's only meant for IE
    •  
      CommentAuthormas_ab
    • CommentTimeJan 7th 2006
     permalink
    Spooky,
    Is sIFR that slow? I wanted to give it a try
    •  
      CommentAuthorSpookyET
    • CommentTimeJan 7th 2006
     permalink
    sIFR is slow the first time you load a site. It is slow if you got a bunch of them.
    •  
      CommentAuthormas_ab
    • CommentTimeJan 7th 2006
     permalink
    Now I have to think twice before using it .....
    •  
      CommentAuthorSpookyET
    • CommentTimeJan 7th 2006
     permalink
    Try it. Don't take my word for it, but yes, think twice.
Add your comments
    Username Password
  • Format comments as (Help)