45 lines
458 B
CSS
45 lines
458 B
CSS
![]() |
/* Resets */
|
||
|
|
||
|
form,
|
||
|
label,
|
||
|
input {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
/* HTML */
|
||
|
|
||
|
form {
|
||
|
border: solid 1px #ccc;
|
||
|
border-radius: 12px;
|
||
|
padding: 10px;
|
||
|
margin: 10px auto;
|
||
|
width: 500px;
|
||
|
}
|
||
|
|
||
|
label {
|
||
|
float: left;
|
||
|
text-align: right;
|
||
|
width: 190px;
|
||
|
clear: both;
|
||
|
}
|
||
|
|
||
|
input {
|
||
|
float: right;
|
||
|
text-align: left;
|
||
|
width: 300px;
|
||
|
margin-bottom: 3px;
|
||
|
}
|
||
|
|
||
|
input[type=number] {
|
||
|
width: 65px;
|
||
|
float: left;
|
||
|
margin-left: 6px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Special Sections */
|
||
|
|
||
|
.clear {
|
||
|
clear: both;
|
||
|
}
|