html
朱文祥
这个作者很懒,什么都没留下…
展开
-
Html CSS笔记
1. 水平线 页面添加水平线 http://www.runoob.com/try/try.php?filename=tryhtml_hr2. base 标签 标签为页面上的所有链接规定默认地址或默认目标。 http://www.w3school.com.cn/tags/tag_base.asp3. 有序列表ol (type) 无序列表ul 列表类型 style="lis原创 2015-10-10 17:43:54 · 361 阅读 · 0 评论 -
HTML5 input file 打开很慢的问题
开发中遇到了这样一个问题我们在代码中使用了HTML5的input[file]标签去上传图片input type="file" name="file" class="element" accept="image/*">1同时,在上面代码中,使用了 accept=”image/*” 去过滤所有非图片的文件。但是,在最新版本的chrome(52.0.2743.116 (64-转载 2017-05-29 17:01:57 · 806 阅读 · 0 评论 -
织梦 当前位置修改
参考:http://blog.sina.com.cn/s/blog_977d680f0101l0ol.html转载 2016-07-21 09:22:29 · 1331 阅读 · 0 评论 -
sitemap roots.txt 写法
sitemap 在线生成:http://www.sitemap-xml.org/tobots.txt原创 2016-06-05 10:27:10 · 909 阅读 · 0 评论 -
织梦模板安装
1. 上传源码2. 访问上传路径/install 开始安装3. 配置系统原创 2016-04-20 14:45:15 · 457 阅读 · 0 评论 -
前端高级
1. Grunt2. Less3. angularjs4. nodejs5.原创 2016-05-13 11:26:58 · 280 阅读 · 0 评论 -
padding IE 兼容写法
padding:10px;padding:9px\9; /* all ie */padding:8px\0; /* ie8-9 */*padding:5px; /* ie6-7 */+padding:7px; /* ie7 */_padding:6px; /* ie6 */转自:http://zhidao.baidu.com/link?url=rOtQ1sLqae7nZOA6Zf转载 2016-03-25 15:03:45 · 856 阅读 · 0 评论 -
定义float:left;后height不自适应高度
1. 添加 zoom: 1; overflow:auto;2. 后面加个DIV清除浮动,即添加clear:both转自:http://blog.csdn.net/99guo/article/details/23710447转载 2016-02-29 12:05:42 · 2073 阅读 · 0 评论 -
meta 标签
引用自:http://blog.163.com/luoyun_dreamer/blog/static/2155290702013916275720/ name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-原创 2016-02-27 16:04:13 · 308 阅读 · 0 评论 -
input 输入换行
html中第二次遇到在chrome下正常,但是在蛋疼的ie下各种毛病,注意:1. width(能不设置就不设置,设置了要注意,是不是满足,这次问题就是出在,长度不够,导致换行),问题的关键是,很少能想到是width的问题,去掉width一切正常原创 2016-03-18 11:05:50 · 11437 阅读 · 0 评论 -
img 标签加载失败时 默认图片设置
在 img 标签 加上onerror="onerror=null;src='123.jpg'" ,即当图片加载失败时会自动加载123.jpg ,例如参考:https://segmentfault.com/a/1190000005958514转载 2018-03-29 20:47:49 · 4111 阅读 · 0 评论