Link to home
Start Free TrialLog in
Avatar of sbornstein2
sbornstein2

asked on

CSS Question top and botton div height

Hello all,

I have a scrollable type grid where I can set the height of that to "auto" which makes it 100% really.   I then have a tab control below it in another div that goes way down the bottom of the browser scroll if I have a lot of records in the grid.   How can I set the bottom div to a certain percent or height and then the div above with the grid will just auto expand 100% of that remaining above space?
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Confused.

If you set the bottom to height: 70% why can't you set the top to height: 30%?
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sbornstein2
sbornstein2

ASKER

this worked tx