I know there is no magical way of stretching a background image (in html/php), mainly due to the fact how ugly that would look in most cases, however in some cases it may not, for example mine, a gradient.
Now the thing is I can get the gradient to tile on the x-axis that's no problem, however it must stretch at least on the y-axis to match the rest of the images. I can do this using a normal image and setting the width and height to 100%... however this poses another problem, i cant put text on without creating other problems, for example leaving a gap at the bottom, making the image way too big or dividing by 0 (ok last one hasnt happened yet

Hopefully this screen shall help: http://img507.imageshack.us/img507/7891/10...07000053wk4.jpg
now you can see the bit above 'hi', i want this to stretch to the bottom, which wouldn't be a problem in this case, however i have only used that height as a template/test, i want the height to change depending on the text inside the. Yeah I'm really not making it easy for myself

Anyhoo, any suggestions?
EDIT: Small note, the image is located within a cell of a table.