PNG IE5.5 & AlphaImageLoader

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zorgi
    Recognized Expert Contributor
    • Mar 2008
    • 431

    PNG IE5.5 & AlphaImageLoader

    Hello Everyone

    Have a problem with AlphaImageLoade r. This is portion of CSS that makes me pull my hair out (and there is not much left to pull any more anyway)

    Basically I have a div that has transparent png as a background. This png should be repeated as the div grows but since I need transparency I must use AlphaImageLoade r for older IE browsers. This is the code:

    Code:
    /*from ie_older.css*/
    #theDiv{
    	width: 950px;
    	height: auto !important;
    	height: 479px;	
    	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="project/view/images/img.png", sizingMethod="scale");
    }
    Works like a charm for IE6 but with IE5.5 crashes as soon as height is greater than given 479px and I can not keep it fixed height.... Any ideas/help much appreciated.

    Thanks
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Why are you setting height twice? auto and 479px?

    I thought the two guys that were still using IE5.5 died.

    Comment

    • zorgi
      Recognized Expert Contributor
      • Mar 2008
      • 431

      #3
      # height: auto !important;
      # height: 479px;

      is a hack for IE browsers. Its instead of min-height: 479px

      Comment

      • zorgi
        Recognized Expert Contributor
        • Mar 2008
        • 431

        #4
        You are probably right about those two guys. The real question here probably is: "Do I still optimize for IE5?"

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          I know people who don't even optimize for IE6 anymore. My contracts specify I only handle the current and previous major version numbers of browsers. So that means IE7 and IE8 only.

          I am still offering to write code that supports IE6 but at a 30% price markup.

          Comment

          • zorgi
            Recognized Expert Contributor
            • Mar 2008
            • 431

            #6
            Originally posted by drhowarddrfine
            I am still offering to write code that supports IE6 but at a 30% price markup.
            I like that :)

            Thanks

            Comment

            Working...