
PNG goes a bit wrong with rounded corners.
The rounded corners are working great. Thank you very much for all your hard work. (also thanks for the "known issues" page, which was a very helpful and resolved why I hadn't previously been able to get border-radius.htc working).
However, something odd is happening in one of my divs: I have a PNG graphic in a box with some text. The PNG is displayed as a background image with no-repeat. In IE8, the image appears to bleed colour into its transparent areas.
See image attached, which shows how IE8 renders the box with and without PIE.htc. This only appears to happen in IE8 (it doesn't happen in IE7, and we're not supporting IE6)
The relevant code is as follows:
Code:
<div class="error"><ul><li>xyz is not valid</li></ul></div>
Code:
div.error {
background-color: #b2efad;
background: url(../images/round/warning_red.png) no-repeat 5px 5px;
border-radius:6px;
behavior: url(/sites/all/themes/speednames/behaviours/PIE.htc);
position:relative;
}
For the time being, I can probably solve this by switching the image to a gif, but it does seem to the HTC causing this glitch, so I felt I needed to report it.