Only apply header and footer information if height is > 0