- 폼/전송버튼 스타일 설정
- 웹스터디&자료/CSS
- 2009/04/04 14:24
- CSS, 폼 스타일 css
form {
margin:10px; padding: 0 5px;
border: 1px solid #f1f1f1;
background-color: #f5f5f5;
}
label {
display:block;
font-weight:bold;
margin:5px 0;
}
input {
padding:2px;
border:1px solid #eee;
font: normal 1em Verdana, sans-serif;
color:#777;
}
textarea {
width:400px;
padding:2px;
font: normal 1em Verdana, sans-serif;
border:1px solid #eee;
height:100px;
display:block;
color:#777;
}
input.button {
font: bold 12px Arial, Sans-serif;
height: 24px;
margin: 0;
padding: 2px 3px;
color: #FFF;
background: #8EB50C url(nav.jpg) repeat-x 0 0;
border: 1px solid #88AD0C;
}
'웹스터디&자료 > CSS' 카테고리의 다른 글
| DIV 가운데 정렬 시키기 (0) | 2009/04/05 |
|---|---|
| 폼/전송버튼 스타일 설정 (1) | 2009/04/04 |
| css 폰트 설정 정리자료 (1) | 2009/04/04 |
| 스크롤 따라다니는 메뉴 소스 (0) | 2008/09/05 |





Recent comment