Posted by Ben C on 07/23/07 21:44
On 2007-07-23, jakeatkins via WebmasterKB.com <u35973@uwe> wrote:
> Ben C wrote:
>>> I'm looking for some kind of effect where the text/images shown in a frame
>>> will gradually fade to black within 25 pixels of the top and bottom border of
>>> the frame while scrolling. Can this be inserted this into a style.css file?
>>> Thanks!
>>
>>You could make a graduated black image that goes from fully transparent
>>at the bottom to fully opaque at the top and superimpose it over the top
>>of the frame with absolute positioning.
> Genius idea! But how do I get the text to go behind the graduated image?
Absolutely positioned things go on top of other things generally anyway.
> This is on a wordpress blog, and I don't see any html file, just all .phps
> with a style.css. where would I even put in the code to do this correctly?
Don't know. You mean you can only add styles and not HTML?
[Back to original message]
|