add display:block to to headfooting