Not signed in (Sign In)

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

Categories

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

    • CommentAuthoreingko
    • CommentTimeMay 11th 2006
     permalink
    I have a solution for Phark Image Replacement for IE5. I've posted in detail on my blog ( http://www.eingko.net/blog/?p=16); the solution is basically this:

    Because IE5 is pushing the image off the screen -9000px or whatever, just place the background at 9000px and use a hack (or conditional comments) to filter it out from other browsers. Neat, eh?

    Thoughts, anyone?
  1.  permalink
    Hi eingko!

    Well If you ask me there is not big difference between using your HACK and conditional statement since conditional comments by itself HACK. It does makes things little bit clear specially to what browser this fix applied to.

    Also you can hide text this way:

    <h1><span="hide">Text goes here</span></h1>
    .hide {
    display:none;
    }


    Best, DS
    •  
      CommentAuthorJohnRiv
    • CommentTimeMay 11th 2006 edited
     permalink
    Conditional comments are not hacks. They're a browser feature.
    • CommentAuthoreingko
    • CommentTimeMay 12th 2006
     permalink
    Dmitry: Hiding text with "display: none" is not screen-reader friendly, and can make search engines skip the hidden content, because they think you're just trying to boost your rankings, etc.
    • CommentAuthoreingko
    • CommentTimeMay 16th 2006
     permalink
    Update:

    I just looked at it in IE5 for Mac (didn't think to earlier), and it turns out that another solution is need to make this work in the Macintosh version; no problem, I've found one.

    In order for the Phark method to work in IE5 all that's needed is to add "overflow: visible". I've updated the post on my blog to reflect this as well.

    I know that a lot of developers have completely stopped caring (or wasting time) on IE5 related bugs, etc., but I'm working on a project that requires the greatest possible browser base, which includes IE5. As a result of the fact that I'm toiling with this, I thought that I would share my findings with others, I know that I would appreciate the same; just in case anyone is wondering why I even bothered to take the time to figure this stuff out.
Add your comments
    Username Password
  • Format comments as (Help)