Thu, 2004-04-01 17:33
I've tried everything to get my background image to align to the bottom of my DIV. The DIV stretches vertically 100% and I would like the "background-image" to stick to the bottom of the DIV no matter what size it might be.
Any suggestions? I'm stumped.
Thanks!
Thu, 2004-04-01 21:32
#1
Align background-image of DIV to bottom?
Hi
The only thing I can think of is to put a div after the 100% div, and then give it a negative margin-top the same as the height of your image and a z-index under the main div and put the image in that.
Trevor
Thu, 2004-04-01 21:47
#2
Align background-image of DIV to bottom?
I ended up figuring it out.
background: url(graphix/phone.gif) no-repeat bottom;