Hello people,
Is there a css trick to let a div stretch down to the bottom of the screen without visible content in it.
Or do I have to resort to javascript?
Thanks, Richard
Hello people,
Is there a css trick to let a div stretch down to the bottom of the screen without visible content in it.
Or do I have to resort to javascript?
Thanks, Richard
I'd try using min-height:100%;
.
The property is not supported in all browsers, though :( Also, you have to apply this to all parent elements of the div.
u can't do that with plain css if u need all browsers support. but u can do some tricks to show that your container is 100% height. for example with background images (according to your website template).
or u can do some javascript coding to make your div 100% height.