Currently, I am working on a web application that relies heavily on jQuery. To create popup windows, I have integrated jQuery UI dialog along with jQuery UI tabs and jScrollPane for customized scroll bars. The overall structure of the application is as follows:
- There is a header container at the top with a height of 60px.
- The main section has a height of 85% and a minimum height of 300px. This section includes:
- A dynamic jQuery UI tabs component that displays data in a table format (referenced as point 2.1).
- A save and cancel button container positioned absolutely at bottom: 15px; right: 20px;, which remains fixed at the bottom of the popup (point 2.2).
I have enabled the jQuery dialog's resizable option to allow vertical resizing of the dialog box.
My current challenge is figuring out how to ensure that the central content container (2.1) fills the space between the header (1) and the button container (2.2). Any suggestions on achieving this layout?