1.

Solve : Image Transparency?

Answer»

Hello,
I'm using transparent images in my website. They are working fine in Mozilla 3.6 but while coming to Internet Explorer 6 some shaded region is appearing around the images. I'm attaching the example screen SHOTS here below.
           How can i get rid of this problem. I want to make my transparent images make visible in transparent in IE 6.
Please provide me the solution........

I'm using
Windows Xp professional,
MICROSOFT Visual Web Developer 2008 Express edition



[recovering disk space - old attachment deleted by admin]That's IE for you.

What you can do is use jQuery with pngFix.I don't know JQuery. If possible can you write the code for me....
I read some where that IE 6 does not support alpha transparency that's why it is showing like that.

I used filter property in CSS for image but it told "filter is not valid CSS property"

the image code is as follows
Code: [Select]<ul&GT;
<li><a  href="Site_Pages/Admissions.aspx" runat ="server" target ="IFrame">Home</a></li>
</ul>
the css code is like this
Code: [Select]

this code worked fine in mozilla 3.6......
#Menu ul li a {
    display: block;   
    height: 42px;
    font-size: 14px;
    line-height: 38px;
    text-align: center;
    font-weight :bold ;
    text-decoration :none; 
    color: White;
    background:url('Images/button.png') no-repeat;
}

#Menu ul li a:hover {
    line-height: 36px;
    text-decoration: none;
    color: White;
    background : url('Images/button_hover.png') no-repeat;
    cursor :pointer ;     
}
Yes, "filter" is not a valid CSS property at the moment, but I think it's being introduced to CSS3.

Here is the direct LINK to download: jquery.1.4.1.min.js (right click and "Save As")
Link to pngFix: jquery.pngFix.js

How to use jQueryThank you....



Discussion

No Comment Found