CSS make with 100% absolute without overflowing Try this: -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;