동일한 필드 세트의 확인란을 CSS를 사용하여 두 개의 열로 나누려고합니다. 예를 들어fieldset의 확인란을 두 개의 열로 나누십시오.
, 내 코드는 다음과 같습니다 :
<div id="topicsbox">
<label class="topicsname">Topics*</label>
<label class="description">Select topic areas for which you would like to receive future updates from CTU (articles, blog posts, white papers, etc.). Check all that apply:</label>
<div id="topicsmessage" class="messagebox"></div>
<fieldset>
<input type="checkbox" name="topics[]" id="AllTopStories" value="1098375" /><label for="AllTopStories">All Top Stories</label>
<input type="checkbox" name="topics[]" id="BusinessandManagement" value="1098376" /><label for="BusinessandManagement">Business and Management</label>
<input type="checkbox" name="topics[]" id="CareerandProfessional" value="1098377" /><label for="CareerandProfessional">Career and Professional</label>
<input type="checkbox" name="topics[]" id="CriminalJustice" value="1098378" /><label for="CriminalJustice">Criminal Justice</label>
<input type="checkbox" name="topics[]" id="HealthcareAdministration" value="1098379" /><label for="HealthcareAdministration">Healthcare Administration</label>
<input type="checkbox" name="topics[]" id="HomelandSecurity" value="1098380" /><label for="HomelandSecurity">Homeland Security</label>
<input type="checkbox" name="topics[]" id="ITEngineeringComputerScience" value="1098381" /><label for="ITEngineeringComputerScience">IT, Engineering, Computer Science</label>
</fieldset>
</div>
사람이 오른쪽에 왼쪽 3 4 개 입력 체크 박스에이 목록을 분할 할 수있는 올바른 CSS를 알고 있나요?
플로트 절반 왼쪽 및 오른쪽 절반. – j08691
필드 세트 및 입력/레이블 필드의 너비를 설정 한 다음이를 플로팅하면 어떨까요? – jtheman
'column-count : 2'? – Jon