I have an IFRAME on my web site. It's about 300px wide by 200px tall (but has about 1000+px tall worth of content.
The IFRAME is scrollable.
What I want to do is have a small transparent (alpha) gradient always at the top/bottom inside of the IFRANE regardless of where the user has scrolled.
So that, whenever a user scrolls vertically, the transparent/alpha gradients always remain at both the top and bottom.
Like so
----------------------------------------
| gradient gradient gradient | S |
------------------------------------ C |
| content | R |
| | O |
| content | L |
| | L |
| content | B |
------------------------------------ A |
| gradient gradient gradient | R |
----------------------------------------
How do I accomplish this with CSS?
Thanks