How to vertically center a div for all browsers?


I want to center a div vertically with CSS. I don't want tables or Javascript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support.

    <div>Div to be aligned vertically</div>

How can I center a div vertically in all major browsers, including Internet Explorer 6?


Your Answer

    Facebook Share        
  • asked 5 years ago
  • viewed 996 times
  • active 5 years ago

Hot Questions