body { padding-bottom: heightOfFooter; } footer { height: heightOfFooter; position: fixed; bottom: 0; width: 100%; }