# CSS Div - 100% Vertical Span

**URL:** <https://forum.kirupa.com/t/css-div-100-vertical-span/165129>\
**Category:** web dev\
**Created:** [October 8, 2005, 12:30am UTC](https://forum.kirupa.com/t/css-div-100-vertical-span/165129 "2005-10-08T00:30:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigmtnskier](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@bigmtnskier](https://forum.kirupa.com/u/bigmtnskier)\
**Post date:** [October 8, 2005, 12:30am UTC](https://forum.kirupa.com/t/css-div-100-vertical-span/165129/1 "2005-10-08T00:30:32Z")

</div>

Hello, can anyone help me come up with some sort of solution to get a div to _stretch from the top of the browser to the bottom_. It seems like a relatively easy concept: min-height: Xpx; But, that method (I know it is a property :P) is not supported in Internet Explorer or Safari.

I have tried to set the height: 100%; but then the background color abruptly stops after you scroll down…

Any sort of help would be GREATLY appreciated. :hugegrin:

In consensus: how do you have the same effect as min-height: 100% and have it work in all browsers?

_begs_
