Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Horizontal & Vertical Centering of Div's
I need to know if this is possible for a div to be horizontally and vertically centered on a page, WITHOUT know the width and height of the page before hand. I know it is possible with CCS, BUT, it only works in Safari. Does anyone know of a JS way to do this? I would really appreciate your help. Thanks heaps.
This discussion has been closed.