Really difficult css question?!
I am hoping this is easy for you master css people but I am lost.
I am basically doing some tests for a prospective job and one of the tests was to create a mask with a 25px border all around. This needs to fit the screen size exactly with no scroll bars.
The content inside will then need to scroll. So the mask stays in tact and the pages scroll inside.
Here is what I have so far:-
<!-- content goes in here -->
I put the black border on the main-container to test it fits inside the white border created by the mask. It doesn't. How can I get it to do this? I can't work out how I can create a % as the mask auto stretches to the screen size.
border:25px solid #fff;
margin:1.5625em 0 0 1.5625em;
border:25px solid #000;