div {
    height: -webkit-calc(100% - 30px);
}
div {
    height: -moz-calc(100% - 30px);
}