There is a way to set `max-height` in `%`, but is here any way to set DIV max-height, so it would be 100px smaller than window height with only CSS?

It must not be a fixed layout, user must be able to scroll page vertically, but DIV always should be resized to `window height - 100px`. Is this possible, or will I have to use JS for that?