I have a block with a transparent PNG as a background image. From the css: background:transparent url(/sites/all/themes/theme/images/bg-front.png) repeat scroll 0 0;
When I use the standard $(".block").corner("round 10px"); I get corners, but they have a white background, and not transparency. Isn't this possible somehow?
I am using the latest version of jquery.corner.js, 2.03.
Comments
Comment #1
ron williams commentedHave you tried wrapping the element with another div that has a transparent background? The javascript colors the image based on the parent element so the wrapping transparent background div may work.
Comment #2
ressaThanks for the answer. I can't remember if I tried that, but I ended up using a graphic with rounded corners in stead.
Comment #3
ressa