This should be a pretty simple one. I need the ‘orange’ div to always cover 100% width and 100% height.
Within that div I need the ‘green’ div to also fill 100% width and height of it’s parent, the ‘orange’ div.
Additionally there needs to always be 10px of ‘padding’ inside the ‘orange’ div.
When the window is resized, each div must ‘resize’ respectively so that there are no scrollbars.
First way:
Second way:
EDIT: The only way I can think of to achieve a layout that I think is being requested in the comment is as follows: