*{ margin: 0; padding: 0; } html,body{ width: 100%; height: 100%; } button{ margin-top: 20px; color: white; background: rgba(22, 155, 213, 1); width: 150px; height: 44px; border-radius: 5px; margin-left: 10px; cursor: pointer; border: none; outline: none; } table,tr,td{ box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgba(161, 161, 161, 1); } .tb{ margin-top:20px; padding: 0 10px; } td button{ margin-top: 3%; color: white; background: rgba(22, 155, 213, 1); width: 45%; border-radius: 5px; margin-left: 3%; } .insertDiv{ margin: 0 auto; text-align: center; width: 30%; margin-top: 50px; box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgba(161, 161, 161, 1); border-radius: 6px; padding: 20px; position: fixed; top: 30%; left: 30%; background: white; display: none; } .insertDiv button{ margin-top: 3%; color: white; background: rgba(22, 155, 213, 1); width: 25%; border-radius: 5px; margin-left: 3%; } .updateDiv{ margin: 0 auto; text-align: center; width: 30%; margin-top: 50px; box-sizing: border-box; border-width: 1px; border-style: solid; border-color: rgba(161, 161, 161, 1); border-radius: 6px; padding: 20px; position: fixed; top: 30%; left: 30%; background: white; display: none; } .updateDiv button{ margin-top: 3%; color: white; background: rgba(22, 155, 213, 1); width: 25%; border-radius: 5px; margin-left: 3%; } .header{ font-size:22px; } .header div{ float: right; } .info label{ vertical-align: middle; display: inline-block; text-align: justify; text-align-last: justify; float:left; width: 30%; } .info input{ vertical-align: middle; }