2012-03-24 3 views
0

안녕하세요. 저는 모바일 앱을 사용하고 있으며 전체 라디오 버튼을 33 %의 모든 버튼으로 만들려고합니다.jquery mobile horizontal radiobutton 동등한 페이지 너비 백분율 페이지

.row_b .ui-btn { 
    text-align: center; 
    width: 33%; 
} 

조언을 바랍니다 따를

내 HTML은 ... 여기

내 코드 나는이 솔루션 JQueryMobile radio buttons with fieldcontain width issue on desktop을 시도

   items.push('<div id="id' + i + '" data-role="fieldcontain"><fieldset data-role="controlgroup" data-type="horizontal" class="row_b">'); 
       items.push('<input type="radio" name="radio'+ i +'-choice-1" id="radio'+ i +'-choice-1" value="choice_1" /><label for="radio'+ i +'-choice-1">test1</label>'); 
       items.push('<input type="radio" name="radio'+ i +'-choice-1" id="radio'+ i +'-choice-2" value="choice_2" /><label for="radio'+ i +'-choice-2">test2</label>'); 
       items.push('<input type="radio" name="radio'+ i +'-choice-1" id="radio'+ i +'-choice-3" value="choice_3"/><label for="radio'+ i +'-choice-3">Clear</label>'); 
       items.push('</fieldset></div>'); 

       html += items.join(''); 

       list.append(html).trigger('create'); 

그러나 그것은 나를 위해 일을하지 않습니다

답변

관련 문제