Home › Forums › CSS › Set div height to 100% body height – header height › Reply To: Set div height to 100% body height – header height
September 1, 2013 at 11:56 pm
#148766
georgearnall
Participant
CSS Calc could solve your problem however its browser compatibility isn’t really very strong, if you are worried about IE.
CodePen
You need to include 40px of padding in your calculation so its:
min-height: calc(100% - 150px)
Hope this helps