Struggling to make a webpage with a Google Map, Chart, and Grid expand to fill the available space on the screen. Tried various CSS tricks but nothing seems to work.
Check out this simplified example in JsFiddle that showcases the issue: http://jsfiddle.net/drysg/Rh7cL/ Full Browser version: http://jsfiddle.net/drysg/Rh7cL/embedded/result/
Interested in a CSS solution that:
- Expands all components to fill the screen initially
- Allows dynamic resizing of components when browser window is resized (similar to WPF or Silverlight)
- Open to a JQuery approach if it responds to window resize events
Identified four main issues:
- Map height is not 100% of necessary space
- TabStrip holding Chart & Grid does not fill 100% of height
- Scrollbar present on TabStrip containing Chart and Grid (looking to remove it as they should be filling the space)
- Desired functionality for Grid scrollbar to work without having a scrollbar on the TabStrip container
Hierarchy of layout structure:
I. Top Window 1. Title DIV 2. Splitter A. Map B. TabStrip i. Table DIV a. Menu b. Grid ii. Chart