#tables { display: flex; justify-content: space-between; margin-bottom: 20px; } td { border: 2px solid rgb(189, 189, 189); padding: 5px; text-align: center; } form { width: 40%; } label { display: flex; justify-content: space-between; } input { margin: 5px; }