png logo will have white borders on IE9

后端 未结 1 1869
攒了一身酷
攒了一身酷 2021-01-28 00:45

I am working on an asp.net mvc web application, we have our upper top navigation bar as blue area, and I am displaying our logo inside the blue area , using the following code:

相关标签:
1条回答
  • 2021-01-28 01:24

    This isn't a white border, it's the background which is white. You may try this code:

    a, img {
       background: transparent;   
       zoom: 1;
    }
    

    It declares that the background of your image is transparent.

    If you could set up a jsbin.com example, someone might just show the correct answer instead of guessing a fix.

    0 讨论(0)
提交回复
热议问题