fieldcontain中的标签隐藏在输入字段后面

时间:2013-07-03 09:19:39

标签: android jquery css html5 jquery-mobile

我使用divdata-role="fieldcontain"来命令输入元素及其各自的标签(并支持多种屏幕尺寸)。例如,请参阅以下代码:

<div style="border-bottom-width:0;" data-role="fieldcontain" data-type="vertical">
  <label for="ti_brutto">Label</label>
  <input name="ti_brutto" id="ti_brutto" style="text-align: right" type="number">

  <label for="kirchenonoff">Slightlylargerlabel</label>
  <select name ="kirchenonoff" id="kirchenonoff" data-role="slider">
    <option value="false">Nein</option>
    <option value="true">Ja</option>
  </select>
</div>  

Here is the jsFiddle

但是,出于某种原因,标签部分隐藏在某些尺寸的输入字段后面,而它应该显示较小的输入字段或显示在下一行中。我怎么解决它?

使用JQuery mobile,Android应用程序。

0 个答案:

没有答案