深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

jquery mobile 设置 ui-grid-a 试样

查看数: 652 | 评论数: 3 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2021-1-17 13:03

正文摘要:

input 占空间2/3,button占空间的1/3 实现方法: <style type="text/css"> div#findBar.ui-grid-a .ui-block-a { width: 65% } div#findBar.ui-grid-a .ui-block-b { width: 35% } </style>复制代码 ...

回复

zhgc 发表于 2021-1-17 13:20:03
用这个方法可以解决挤在一起的问题:

  1.                 <div class="ui-grid-b" style="margin-left:2em;">
  2.                         <div class="ui-block-a"  style="padding-right: 3px;">
  3.                                 <input type="text" name="ed_program" id="ed_program" placeholder="Program name"  style="background:#B2f2B2" readonly >
  4.                         </div>
  5.                         <div class="ui-block-b" style="padding-right: 3px;">
  6.                                 <input type="text" name="ed_pcb" id="ed_pcb" placeholder="PCB Part No"  style="background:#B2f2B2" readonly >
  7.                         </div>
  8.                         <div class="ui-block-c" >
  9.                                 <input type="text" name="ed_pcba" id="ed_pcba" placeholder="PCBA Name"  style="background:#B2f2B2" readonly >
  10.                         </div>
  11.                 </div>
复制代码


QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-6-29 08:32 , Processed in 0.098498 second(s), 25 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表