完美解决amzonui里面input和icon布局问题
2015-10-01 18:25
423 查看
<form method="post" class="am-form" id="am-login"> <p><i class="am-icon-user am-span1"></i><input class="am-span12" type="text" name="tel"></p> <p><i class="am-icon-lock am-span1"></i><input class="am-span12" type="password" name="pwd"></p> <input type="submit" name="" value="登 录" class="am-btn am-radius am-g am-login-submit "> </form>
只要给input加上相对定位,给i加上绝对定位即可。
相关文章推荐
- UI:文件操作、通知中心
- UITabBarController详细说明(简介和设置)
- 《Hadoop: The Definitive Guide》读书笔记 -- Chapter 1 Meet Hadoop
- js中关于value的一个小知识点(value既是属性也是变量)
- easyui datagrid加载数据和分页
- UIButton是UIImageView的子控件无法与用户交互
- 显示器 RUIGE瑞鸽高清显示器TL-S1700HD
- 远程调用服务(RPC)和消息(Message Queue)对比及其适用/不适用场合
- UIDynamic-动力效果
- poj(2299)——Ultra-QuickSort(归并排序求逆序数)
- iOS UITextView的使用(小小阅读器实现)
- ZOJ-1649 Rescue
- BlockingQueue
- How do you make Ubuntu accept files sent over bluetooth
- iOS开发之 UIDynamic (动力效果)
- 强连通图之HDU2767 Proving Equivalences
- iOS: 工具栏控件UIToolBar和工具栏按钮控件UIBarButtonItem的使用
- easyui 之 data-option
- iOS开发入门_视图控制器_UI_02
- Android stuido Gradle模式的使用