HTML CSS examples for CSS Widget:Button
Align text in middle/center of page and button on bottom/center
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <!-- w w w.j a v a 2s . co m--> <body> <div style="text-align:center;vertical-align:middle;height:100%;"> <label id="lblStatus" style="position: absolute; top: 50%;">Please wait...</label> </div> <div style="text-align: center;"> <button id="btnClose" value="Close" style="position:absolute; bottom:0; text-align:center; width:80px">A button</button> </div> </body> </html>