Set content div height according to screen height

  • Prasanna SP

    #5422

    Is it possible to set the page height to match the screen height? Top bar, header and nav menu will have fixed height. But, I want the html, body and content (or content-main div may be..) height to be resized to 100%. People will always see top-bar, header, nav menu, content and footer. But any extra content in content div should be allowed through scrolling. Any idea to achieve this? I’ve tried height: 100% and min-height: 100% But it doesn’t seem to work.

    Thanks!

    Prasanna SP

    #31936

    I think it is not practical for small screen monitors. So, I’m not gonna find a solution for this. 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.