2016年12月22日
摘要: 1.表格方法: 实现方法:表格内容本来就是垂直居中的,可以通过模拟表格处理。 2.vertical-align: middle实现方法:利用空元素占位实现 3.绝对定位 4.使用 transform 实现 阅读全文
posted @ 2016-12-22 14:13 仔仔爱学习 阅读(217) 评论(0) 推荐(0)
  2016年12月20日
摘要: table表格宽度固定,同时td内容过长也不会被撑开,设置如下css: table{table-layout:fixed;word-break:break-all;} table{table-layout:fixed;word-break:break-all;} 阅读全文
posted @ 2016-12-20 10:59 仔仔爱学习 阅读(15058) 评论(1) 推荐(1)
  2016年12月19日
摘要: <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> //微信自带的图片预览 $(document).on('click', '.previewImage img',f 阅读全文
posted @ 2016-12-19 09:41 仔仔爱学习 阅读(5945) 评论(0) 推荐(0)
  2016年12月12日
摘要: 在ajax方法里写$(this)指向的是最近调用它的jquery对象,所以这里的$(this)指的是ajax对象,而不是$(".enter_caozuo").find(".gd"),要想解决这个问题,就需考虑增加一个中间变量传递这个对象,示例:$(".enter_caozuo").find(".gd 阅读全文
posted @ 2016-12-12 11:32 仔仔爱学习 阅读(1928) 评论(0) 推荐(0)
摘要: nodeType是用来获得当前节点对象的类型。nodeType 属性可返回节点的类型。元素element 1 属性attr 2 文本text 3 注释comments 8 文档document 9 阅读全文
posted @ 2016-12-12 09:43 仔仔爱学习 阅读(477) 评论(0) 推荐(0)
  2016年12月7日
摘要: 转自http://www.runoob.com/try/try.php?filename=tryjquery_event_stoppropagation <!DOCTYPE html><html><head><script src="http://cdn.static.runoob.com/libs 阅读全文
posted @ 2016-12-07 10:18 仔仔爱学习 阅读(163) 评论(0) 推荐(0)
  2016年11月28日
摘要: ios下input获取焦点以及在软键盘的上面 阅读全文
posted @ 2016-11-28 17:19 仔仔爱学习 阅读(4900) 评论(0) 推荐(0)
  2016年11月25日
摘要: http://www.glbwl.com/wampServer-403-forbidden.html http://jingyan.baidu.com/article/e75aca8578147d142edac6d1.html 阅读全文
posted @ 2016-11-25 16:43 仔仔爱学习 阅读(168) 评论(0) 推荐(0)
摘要: a链接中套a链接 阅读全文
posted @ 2016-11-25 11:37 仔仔爱学习 阅读(183) 评论(0) 推荐(0)
  2016年11月23日
摘要: CSS代码: .test_box { width: 400px; min-height: 120px; max-height: 300px; _height: 120px; margin-left: auto; margin-right: auto; padding: 3px; outline: 0 阅读全文
posted @ 2016-11-23 14:13 仔仔爱学习 阅读(198) 评论(0) 推荐(0)