Background gradient fill for flexible div's, either using css or images?

Posted by Tony_Henrich on Stack Overflow See other posts from Stack Overflow or by Tony_Henrich
Published on 2009-07-25T01:07:28Z Indexed on 2010/04/14 22:03 UTC
Read the original article Hit count: 197

Filed under:
|

I am using a fixed height image to fill a div with gradient color using something like: background:transparent url(green_bg.gif) repeat-x scroll 0 0;

However it only fills a height equals the image height. What's the best way to fill the backround of a div which changes in height, according to amount of text inside it, either using images or using css?

© Stack Overflow or respective owner

Related posts about css

Related posts about html