css file: .centered { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: 0; width: 700px; height: 400px; text-align: center; background-color: rosybrown; } table{ margin-top:50px; } label { margin-left: 20px; margin-top:50px; } #tb_Update_date { width: 180px; margin: 0 20px 20px 20px; } #tb_Update_date > span:hover { cursor: pointer; } .houserow { cursor: pointer } .seperator { height: 10px; /*background-color: #C5C4CC;*/ } .btnHouse { width: 100%; } .btnDelete { background-color: floralwhite; width: 100%; padding: 5px; font-size: 16px; color: black; } .table-striped > tbody > tr:nth-of-type(odd) { background-color: #3EB3A5; } .table-striped > tbody > tr:nth-of-type(even) { background-color: #ACDFE3; } .imgHouse { max-height: 200px; max-width: 200px; border-bottom: solid 5px #ebebeb; } #houses { color: black; font-weight: bold; Font-size: 16px; Font-family: 標楷體; } .body { background-color: #1BA8E0; } html, body { margin: 0px; padding: 0px; } .lb_main { color: #071914; top: 30px; left: 1075px; width: 36px; height: 30px; font-size: large; font-weight: bold; Font-size: 16px; Font-family: 標楷體; text-decoration: none; } .lb_main:hover, .lb_log:hover, .lb_exit:hover { background-color: darkblue !important; color: white !important; } .lb_log { color: #071914; top: 30px; left: 1130px; width: 36px; height: 30px; font-size: large; font-weight: bold; Font-size: 16px; Font-family: 標楷體; text-decoration: none; } .lb_exit { color: white; top: 30px; left: 1185px; width: 36px; height: 30px; font-size: large; font-weight: bold; Font-size: 16px; Font-family: 標楷體; text-decoration: none; } .lbstandard1 { width: 36px; height: 30px; font-weight: bold; } .lbstandard1:hover { background-color: #94858A; } .lbstandard2 { top: 30px; left: 1185px; width: 36px; height: 30px; font-size: large; font-weight: bold; } .lbstandard2:hover { background-color: #94858A; } .left img { border: Groove 1px #ccc; border-radius: 14px; } .left { position: absolute; left: 10px; border-radius: 4px; width: 330px; right: 10px; } .modalBackground { background-color: Black; filter: alpha(opacity=90); opacity: 0.8; } .modalPopup { background-color: #FFFFFF; border-width: 3px; border-style: solid; border-color: black; padding-top: 10px; padding-left: 10px; width: 300px; height: 140px; } .right { position: absolute; left: 330px; border: none 1px #c00; width: 61%; } .up { top: 20px; border-radius: 4px; } input[type="text"] { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } input[type="textbox"] { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } input[type="bt_save"] { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } input[type="button"] { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } .rounded { border-radius: 7px; border: 1px solid gray; padding: 7px; } input[type="password"] { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } .forbutton { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } select { -moz-border-radius: 7px; border-radius: 7px; border: solid 1px gray; padding: 7px; } #aspImagePreview { position: absolute; right: 10px; left: 10px; top: 20px; width: 290px; height: 420px; border: groove 1px #999; border-radius: 6px; box-shadow: 5px 7px 5px -1px #555; } #currData tr td:nth-child(3) { text-align: right; } .right2 { text-align: right; } #currData td:nth-child(5) { padding-right: 0; } #currData td:last-child { vertical-align: middle; } ---------------------------------------------------------------------------------------------