position background at very bottom of the screen
Posted: 11 May 2006 07:12 PM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2006-05-11

I want to have a tiled background on my body tag then have a div tag named back_gr that has a background image sitting in the very bottom left of the screen. Unfortunately if the content of the page only fills half the page then the image appears half way up the page.

What I need to know is can I force the height of a div to be the height of the screen I have tried setting the height of the div to be 100% but this does not work?

EG
top of screen
_____________________

top of div
———————————————

image
———————————————
bottom of div

bottom of screen
______________________

What I want is to force bottom of div to sit where bottom of screen is.

Profile
 
 
Posted: 11 May 2006 07:54 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  3
Joined  2006-05-11

Solved the problem had to set the height of the body to 100%.

Profile