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