How to make inline png <img> transparent using css?

Posted by metal-gear-solid on Stack Overflow See other posts from Stack Overflow or by metal-gear-solid
Published on 2010-05-21T12:09:31Z Indexed on 2010/05/21 12:30 UTC
Read the original article Hit count: 237

Filed under:
|
|
|
|

How to make inline png transparent inside div? using css

<div id="report'>
<p> some text </p>

<img src=transparent.png" />

</p>

</div>

this is image for example . Other than ball i want to make transparent other white area. Which is looking grey in IE6

alt text

I want to do in css like this div#report img {.....} is it possible?

Edit:

I don't want to make whole image transparent.

© Stack Overflow or respective owner

Related posts about ie6-bug

Related posts about png-24