Код: Выделить всё
h1 {
text-align: center;
}
fieldset {
width: 85%;
margin: 5px auto;
border: 2px solid #b0b0b0;
border-radius: 15px;
}
label {
float: left;
width: 20%;
}
#personalDetailsSet{
background-color: #c4d7f5;
}
#personalDetails, #bookingDetails {
background-color: #f0f0ff;
}
#bookingDetailsSet {
background-color: #f5dfc4;
}
#password {
width: 55ch;
}
.form-set {
padding: 2px 0;
}
#single-room-div {
margin-top: 15px;
}
#submit-reset-div {
vertical-align: middle;
}
.radio-set {
margin-bottom: 15px;
}
Hotel Reservation
Personal Details
First name:
Surname:
Email Address:
Setup a password:
Booking Details
Checkin day:
Number of days:
Single Room
Double Room
King Room
Breakfast:
Include
Don't Include
Special Requirements:
Please provide any special requirements
Подробнее здесь: https://stackoverflow.com/questions/796 ... a-fieldset
Мобильная версия