Getting a page section to take up 100% of the remaining height RRS feed

  • Question

  • Writing a Javascript app for Windows phone.

    Have a page with a header and content/section DIVs.

    How can I set the content DIV to take up the remaining 100% height.

    Thursday, October 16, 2014 6:42 PM


  • What do you have and what is not working?
    Should just be able to give the div an id and then in CSS Set the height:

    <div id="content"></div>
    and in the CSS:
    #content {height:100%}

    Bret Bentzinger (MSFT) @awehellyeah

    Thursday, October 16, 2014 10:31 PM