• support@answerspoint.com

How to vertically center a div for all browsers?

1817

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.

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

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

0Answer


Your Answer

    Facebook Share        
       
  • asked 9 years ago
  • viewed 1817 times
  • active 9 years ago

Best Rated Questions