.error-page { position: relative; width: 708px; height: 580px; top: 5%; left: 50%; margin-left: -280px; background: url('../image/500.gif') no-repeat; } .error-page .btn:before, .no-page .btn:after { display: table; content: " "; } .error-page .btn:after { clear:both; } .error-page .btn { position: absolute; top: 460px; left: 140px; } .error-page .btn .btn-list { float: left; margin-right: 40px; } .error-page .btn .btn-list a{ display: block; text-decoration: none; color: #000000; border: 1px solid #bbb; padding: 10px 18px; border-radius: 14px; } .error-page .btn .btn-list a:hover { background-color:#76a7f1; color: #fff; }