*body { margin: 0; padding: 0; font-family: "微软雅黑"; background-color: #F5F8FA; } .box { width: 100%; height: 100%;position:relative;} #button { width: 100px; height: 30px; margin-top: 30px; } #button1 { width: 100px; height: 30px; margin-top: 30px; margin-left: 10px; } #Tsdiv { background: #464646; color: #F2F2F2; position: absolute; font-size: 18px; left: 25%; top: 25%; width: 300px; height: 70px; z-index: 1; border-radius: 5px; line-height: 70px; text-align: center; display:none;} #carriers { width: 350px; height: 250px; display: none; background-color: white; overflow: hidden; border: 1px solid #f1f1f1; box-shadow: 2px 2px 8px #f1f1f1; position: absolute; left: 25%; top: 25%; } #close { width: 20px; height: 20px; background: url("img/close.png") no-repeat; margin: 5px 5px 0 0; float: right; cursor: pointer; } #warning { width: 75px; height: 75px; background: url("img/warning.png"); margin: 0 auto; margin-top: 20px; } #confirm { width: 90px; height: 35px; background-color: #219FD4; cursor: pointer; margin: 20px auto; line-height: 35px; color: White; font-size: 18px; text-align: center; border-radius: 5px; } #title { font-size: 24px; margin: 10px auto; width: 200px; font-family: "微软雅黑"; } #conte { font-size: 12px; margin: 10px auto; width: 250px; font-family: "微软雅黑"; color: #A3A3A3; text-align: center; }