Jump to content

Setting PNG as background for container layer!!


iPixel

Recommended Posts

I've googled and googled and i just cannot get it to work in IE6 !! Im dying here! Help?!

 

My container div

 

#container
{
width:1017px;
min-height:100%;
margin:0 auto;
margin-top:0px;
background-image:url('images/tallBG.png');
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='tallBG.png',sizingMethod='scale');
background-repeat:repeat-y;
}

 

it's a simple background with drop shadows on each edge, and the transparent part well is not transparent in IE6. Any help would be GREATLY appreciated.

 

Thanks 2 All who help.

Link to comment
Share on other sites

IE6 does not support transparent pngs ... yeah, yet another "What were we thinking?" moment brought to you by Microsoft.

 

When I want to use a transparent png, I use the PNG for modern browsers, then make a duplicate graphic as a tranparent gif and use a conditional comment to parse it for IE6.

 

It doesn't look as good, but it is better than nothing.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.