Home > DeveloperSection > Forums > How to make a DIV fill the whole screen after page loading
Manoj Bhatt
Manoj Bhatt

Total Post:154

Posted on    June-15-2013 3:29 AM


 1 Reply(s)
 1337  View(s)
Rate this:
Hi Expert,

We are making a website for the TEDx in our city and we're stuck..

Here's a draft copy of it: tedx.mozerov.ru

We have a div id="section-event" which we want to be for the whole page on loading. We added the height:100%; and width:100%;, but the block is still does not fill the whole page :(

Please help!


Total Post:604

Posted on    June-15-2013 3:44 AM

Hi Manoj,

Well, not sure how you are going to use this div, but:

position: absolute; top: 0; left: 0; height: 100%; width: 100%;

Don't want to miss updates? Please click the below button!

Follow MindStick