sbosarge wrote:Is there a css 2.1 technique to produce a dynamically sized vertical gradient within a div that meets the following requirements.
1. does not need to be transparent
2. will dynamically resize with the height of the div.
using this as a background in the edit view template in an asp.net listview conrtol. when the edit view is activated the height of the div is determined by height of a nested gridview
I only had this issue come up yesterday so my amount of googleshooting is minimal. what i did find was not very helpful and personally i don't think it can be done with pure css 2.1. I think css 3.0 has something called background-size or something...
I thought about somehow using the 2d graphics class in [dot]net but that seems inefficient,
your thoughts..
=Scott
A bit late with the answer, and the answer would be no, there isn't a CSS technique that would make this possible. Perhaps with a bit of javascript, it would.

