1
레이블이있는 라디오 버튼 입력이 있지만 가로로 정렬 할 수는 없지만 세로로 하나씩 표시됩니다. 어떻게 하나씩 가로로 정렬 할 수 있습니까?라디오 버튼을 수평으로 정렬하는 방법
<div class="cc-selector-2" align="right">
{{range $index,$url := .Avatars}}
<label for="pic1">
<input type="radio" name="avatar" id={{$url}} value={{$url}} />
<img src={{$url}} alt="" height="40" width="40"/>
</label>
{{end}}
</div>
<style>
.cc-selector-2 input{
position:absolute;
z-index:999;
}
label {
display: block;
text-align: center;
margin-bottom:0px;
font-size: .85em;
background-color:buttonface;
}
</style>
넣어 전체 코드를. – Afsar