I am trying to create a webpage which perfectly fits on the screen of any resolution, for that I need to detect the users resolution, compute it to fit my layout and then deploy the properties to my layout.
I know how to do this, using Jquery and Javascript, but I want to know if there is a genuine CSS method to do this.
Here is something which I want
#wrapper {
height: clientHeight-100px;
width: clientWidth-500px;
}