Improvement to vertical alignments in header and footer