小编dar*_*nsf的帖子

如何删除Jquery Mobile Panel表单的填充?

一旦我添加了一个表单标签,我就会在表单元素周围出现这种令人讨厌的填充.有没有办法解决?

截图:https://s3.amazonaws.com/thom-temp/jquerymobile-wtf.png

<div id="advancedSearch" data-role="panel" data-position="right" data-display="push">
  <div data-role="header">
    <h1>Search</h1>
    <a id="searchButton" href="#" class="ui-btn-right" data-role="button" data-theme="d" data-icon="search">Go</a>
  </div>

  <div data-role="content">
    <form style="margin: 0px; padding: 0px;" id="yw2" action="/mshi/index-test.php/inspection/list" method="get">
      <ul data-role="listview" data-inset="false" data-theme="a">

        <li data-role="fieldcontain">
          <input placeholder="Id" name="inspection[id]" id="inspection_id" type="text" />
        </li>
      </ul>
    </form>
  </div>
</div>
Run Code Online (Sandbox Code Playgroud)

html jquery jquery-mobile

3
推荐指数
1
解决办法
6696
查看次数

标签 统计

html ×1

jquery ×1

jquery-mobile ×1