SyntaxFix
Write A Post
Hire A Developer
Questions
Supposing div is #div and button is #button:
#div { display: table-cell; width: 100%; height: 100%; text-align: center; vertical-align: center; } #button {}
Then nest the button into div as usual.