0
こんにちは、私はモバイルアプリで、私は33%すべてのボタンで横幅のラジオボタン全幅を作成しようとしています。ここjqueryモバイル水平ラジオボタン等しいボタンの幅の割合
は私のコード
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');
である私は、このソリューションJQueryMobile radio buttons with fieldcontain width issue on desktopを試みるが、それは私のためではない作品をして...
私のhtmlは
.row_b .ui-btn {
text-align: center;
width: 33%;
}
に従うよう
をアドバイスをしてくださいです