Live site.맑음 : 양쪽 플로트 : 올바르게 작동하지 않음
연락처 양식을 지정하는 데 문제가 있습니다. 메시지 필드와 제출 버튼은 다른 모든 입력 필드의 오른쪽에 있고, 맨 위에 정렬되어 있습니다. clear:both
과 float:right
을 사용하면 메시지와 제출 버튼이 이동하지만 다른 모든 필드보다 훨씬 아래에 있습니다. 어떻게 해결할 수 있습니까?
.contact_name {
font-family: fanwood-webfont;
margin-left: 60px;
padding-bottom: 10px;
}
.contact_email {
font-family: fanwood-webfont;
margin-left: 60px;
padding-bottom: 10px;
}
.contact_subject {
font-family: fanwood-webfont;
margin-left: 60px;
}
.contact_message {
clear: both;
float: right;
font-family: fanwood-webfont;
}
.contact_button {
clear: both;
float: right;
}
&
<p class=contact_name>Name (required)<br />
[text* your-name]</p>
<p class=contact_email>Email (required)<br />
[email* your-email]</p>
<p class=contact_subject>Subject<br />
[text* your-subject]</p>
<p class=contact_message>Message<br />
[textarea* your-message]</p>
<p>[submit class:contact_button "Send"]</p>
작품 완벽하게, 감사합니다. – AMC
np, 내가 널 도와 줘서 기뻐. – Sajmon