Currently, I am working with a PNG image that has a transparent area resembling a torn checkout receipt with a zig-zag edge. This image is intended to function as the bottom part of a div that has a white background to mimic a till receipt. In my attempt to achieve this effect, I utilized the following code:
background: #ffffff url("../images/zigzag.png") bottom right no-repeat;
Unfortunately, the white background extends all the way to the edge of the image.
Is there a way to prevent the background color from showing underneath the image without having to create an additional div?