html body heigt 100% code example Example: how to make html body alway 100% height and width html, body { height: 100%; }