I know this is an already asked question, but no solution found work on my pages.
I have a page:
- header with fixed height: 60px
- sub-header div: height dinamic based on content
- search div: height dinamic based on content
fullcalendar div: this div need to be equal to remaining space available to fit screen
<header style="height:60px">LOGO + HORIZONTAL MENU</header> <div id="sub-header">SOME CONTENT HERE...</div> <div id="search-div">SOME CONTENT HERE FOR SEARCH...</div> <div id="fc-div"><div id="calendar"></div></div>
I want to set fc-div
to get height of remaining space to prevent scroll-y