怎么使jQuery mobile的三个下拉框并在一排,是省市区三级联动 15
divdata-role="content"><divdata-role="controlgroup"data-type="horizontal"><selectid="...
div data-role="content">
<div data-role="controlgroup" data-type="horizontal">
<select id="s_province" name="s_province" data-inline="true"></select>
<select id="s_city" name="s_city" data-inline="true"></select>
<select id="s_county" name="s_county" data-inline="true"></select>
</div>
</div> 展开
<div data-role="controlgroup" data-type="horizontal">
<select id="s_province" name="s_province" data-inline="true"></select>
<select id="s_city" name="s_city" data-inline="true"></select>
<select id="s_county" name="s_county" data-inline="true"></select>
</div>
</div> 展开
2个回答
展开全部
在mobile中,自适应排列中,请使用百分比
<div data-role="content">
<div data-role="controlgroup" data-type="horizontal">
<select id="s_province" style="width:33.33%" name="s_province" data-inline="true"></select>
<select id="s_city" style="width:33.33%" name="s_city" data-inline="true"></select>
<select id="s_county" style="width:33.33%" name="s_county" data-inline="true"></select>
</div>
</div>
这样子就可以了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询