728x90
반응형
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>회원가입</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="memberForm.css">
</head>
<body>
<div class="wrap">
<div class="joinFrm">
<h1>회원가입</h1>
<form name="frmMember">
<table>
<tr>
<td class="td1">아이디</td>
<td class="td2"><input type="text" name="id"></td>
</tr>
<tr>
<td class="td1">비밀번호</td>
<td class="td2"><input type="text" name="password"></td>
</tr>
<tr>
<td class="td1">이름</td>
<td class="td2"><input type="text" name="name"></td>
</tr>
<tr>
<td class="td1">이메일</td>
<td class="td2"><input type="text" name="email"></td>
</tr>
<tr>
<td class="td1">주소</td>
<td class="td2"><input type="text" name="address"></td>
</tr>
</table>
<input class="btn" type="button" value="가입하기" onclick="fn_sendMember">
<input class="btn" type="reset" value="다시입력">
<input type="hidden" name="command" value="addMember">
</form>
</div>
</div>
</body>
</html>
@charset "UTF-8";
*{
font-family: 'Noto Sans KR', sans-serif;
}
.body{
margin: 0;
}
.wrap{
display: flex;
flex-direction: column;
height: 100vh;
align-items: center;
justify-content: center;
}
.joinFrm{
box-shadow: 1px 3px 3px 3px grey;
padding: 5px;
text-align: right;
}
.joinFrm h1{
text-align: center;
}
.td1{
border: 1px solid black;
text-align: center;
color: white;
background: black;
border-radius: 10px;
}
.btn{
display: inline-flex;
flex-direction: row;
flex-wrap: wrap;
font-size: 14px;
}
.joinFrm .btn:hover{
background-color: white;
}
728x90
반응형
'Project Development > Java_programming' 카테고리의 다른 글
아이디 찾기 - DB 연결 (0) | 2021.12.15 |
---|---|
회원가입 - DB 연결 (0) | 2021.12.14 |
쇼핑몰 홈페이지 (0) | 2021.12.14 |
로그인 페이지 (0) | 2021.12.14 |
웹 레이아웃 (0) | 2021.12.12 |
댓글