Forums

Give help. Get help.

  • # October 27, 2008 at 4:51 pm

    Website: http://www.stuckpixelstudio.com/version2

    So I have a few problems with my website, and they are all in IE6.

    1) Yes…. the painful transparent PNG issue. I can usually get it to work by putting in a special iepngfix.htc file in my directory and reference it using a behavior thing in my CSS. However, using that behavior in my CSS keeps it from validating, and I’d really like to have valid CSS.

    The other option that I’ve seen is using a special javascript that supposedly lets you use transparent PNG’s. It’s the ie7-js script: http://code.google.com/p/ie7-js/

    I’ve changed my transparent png files to end with -trans.png, but the pictures are never fixed. Also, this script is limited because I can’t use it on positioned backgrounds, which is how my transparent png’s are positioned.

    Lastly, I’ve tried the Unit PNG fix. When I apply it, my images are transparent, however it screws up my positioning.

    Is there another option that will allow me to have valid css and use positioned background images using transparent png’s?

    2) I have a strange error being reported in IE. It says
    "Line: 20
    Char: 3
    Error: ‘0.offsetWidth’ is null or not an object
    Code: 0 URL: http://www.stuckpixelstudio.com/version2/"

    I looked at where it referenced but it was just part of my navigation and it doesn’t seem anything is wrong.

    Thanks.

    pab
    # October 27, 2008 at 5:41 pm

    you have to put it in a conditional stylesheet for ie for it to validate

    pab
    # October 28, 2008 at 12:16 am

    i checked, it validates strict on my side.

    # November 11, 2008 at 1:37 am

    Greets Peeps,

    Can you please say what the "conditional stylesheet" used?

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag