I have a layout with header and sticky footer. Both are 40px high. Now I need to add aside with a scroolbar, which will fill the free space (verticaly). It should looks like that:

There are two restrictions:
- no JavaScript
- no CSS3 calc() function
Is there any strict CSS solution of this problem?
Here’s a little demo of what I’m about to explain: little link.
First, position your
headerandfooterusingabsoluteandfixed, respectively. Add40pxof padding to both top and bottom ofbody, and make sure itsbox-sizingisborder-box. Set youraside‘sheightto100%, and also make sure it’s aborder-box. Basically;HTML:
CSS: