QUOTE (Mathijs1988 @ Apr 1 2009, 05:52 AM)

Does anyone know how to do it? I've searched google & browsed through many forums but I have yet to find an answer. I want to make a content box with a gradient in it and when I type something in there it should stretch (along with the gradient). Is this possible to achieve somehow in html/css/php or whatever? Please help me out

You should save the gradient as an image, lets say its a gradient with the starting color of #ffffff (white) and an end color of #000000 (black). You shouls save the gradient as an image, lets say gradient.png
Now the css:
#menu {
background-image: url(gradient.png);
background-repeat: repeat-x;
background-color: #000000;
}
The repeat x stands for horizontal and the rest of the div will stretch with #000 because thats the end color of the gradient.
Good luck!