Hallo ich bin in der mobilen App und ich versuche, eine horizontale Radiobutton volle Breite mit 33% jeder Taste zu erstellen.jquery mobile horizontale Radiobutton gleiche Tasten Breite Prozentsatz der Seite
hier ist mein Code
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');
ich diese Lösung versuchen JQueryMobile radio buttons with fieldcontain width issue on desktop aber es hat nicht funktioniert für mich ...
meine html
wie folgt ist.row_b .ui-btn {
text-align: center;
width: 33%;
}
bitte Rat