thagg.com/intotherude
tags
sign in
thagg.com/home
Tweet
css
print
100% height in css minus margin with one element
Give elements 100% height minus margin without scrollbars:
div.whatever {
position:absolute;
left:0px;
top:0px;
right:0px;
bottom:0px;
width:100%;
height:auto;
margin-bottom:50px;
margin-top:50px;
}