Is there a way either in css or using an image file, to mask content without using a color?
Let me explain..
Here is an RSS feed, and my user has the option of setting the background. As you can tell, the feed will be cut ugly at the bottom. I would like to hide this cut with a smooth transition, much like transitioning from a foreground color to a background color. But I can't do that in a simple way since I can't know beforehand what color to transition from. And if the user has an image for background, it is impossible doing it that way.
So I am thinking maybe there is a way to put a div on top of the text content, and have a gradient moving from 0 opacity at the bottom and opacity 1 a bit further toward the top?
I basically could use the opacity property of css, but I would like to have it gradiented =)
------------ UPDATE -----------------
It seems this is not possible since noon eout of the 40 viewers have an idea. I guess maybe a different way to go about it would be to let the background actually be a foreground, with low opacity toward the top and 0 at the bottom. It won't make the same effect, and I'm not entirely sure it would work, it isn't possible to do a gradient from an image is it? I would have to have such images done manually, or use some nifty library to handle the opacity gradient using a php image handler?