Give help. Get help.

  • # October 27, 2008 at 4:51 pm


    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 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:

    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:"

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


    # October 27, 2008 at 5:41 pm

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

    # 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?


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

You must be logged in to reply to this topic.