随笔分类 -  HTML、CSS

前端html、css学习与整理记录
摘要:<style> .mui-progressbar { position: relative; display: block; overflow: hidden; width: 100%; height: 2px; -webkit-transform-origin: center top; transform-origin: center top; vertical-align: middle; b 阅读全文
posted @ 2019-10-10 09:04 骚年丶勿忘初心。 阅读(283) 评论(0) 推荐(0) 编辑
摘要:定时自动刷新当前页面 content 刷新时间 阅读全文
posted @ 2019-05-24 20:42 骚年丶勿忘初心。 阅读(316) 评论(0) 推荐(0) 编辑
摘要:符号 编码 HTML 代码 符号 编码 HTML 代码 ! &#33; " &#34; # &#35; $ &#36; % &#37; & &#38; ' &#39; ( &#40; ) &#41; * &#42; + &#43; , &#44; - &#45; . &#46; / &#47; 0 阅读全文
posted @ 2017-03-22 14:31 骚年丶勿忘初心。 阅读(1147) 评论(0) 推荐(0) 编辑
摘要:案例完整代码如下 var cls = layer.open({ title: "请选择被换班人", type: 2, area: ['700px', '500px'], maxmin: false, content: "/PbManagementV3/ChangeWorkV3/GetTimePeop 阅读全文
posted @ 2016-10-10 18:01 骚年丶勿忘初心。 阅读(641) 评论(0) 推荐(0) 编辑
摘要:hmtl拼接问题: 今天在同事解决问题的时候发现 html <lable id="p"+@item.id></label> 拼接出来的是 p+5 <lable id="p'+@item.id'"></label> 拼接出来的是 p"+5" 这些都不是我们想要的效果,而且js jquery中 id是不 阅读全文
posted @ 2016-10-10 17:21 骚年丶勿忘初心。 阅读(24756) 评论(0) 推荐(0) 编辑
摘要:在开发过程中遇到checkbox框,第一次遇到还以为是系统自带的是这样 后来发现不是那样, 我们可以在使用css 去掉出现的虚线框,以下是我的解决方案代码: /* checkbox 去掉虚框*/:focus { outline: 0 !important; // 这里一定要设置当前行代码得的优先级} 阅读全文
posted @ 2016-07-18 14:35 骚年丶勿忘初心。 阅读(1941) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-07-03 13:46 骚年丶勿忘初心。 阅读(558) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-07-02 18:05 骚年丶勿忘初心。 阅读(368) 评论(0) 推荐(0) 编辑
摘要:参考地址: http://jingyan.baidu.com/article/c843ea0b7d0b7177921e4a68.html 操作步骤:1.在当前发布网站中建立虚拟目录 2.点击当前网站 -右侧出现 目录浏览-打开功能-启动 如下图: 3.虚拟目录中 访问页面一定有 index.html 阅读全文
posted @ 2016-05-25 15:37 骚年丶勿忘初心。 阅读(8722) 评论(1) 推荐(0) 编辑
摘要:<body> <div> <div style="width:100% !important;height:850px;text-align:center;"> <div id="loading" style="margin-top:200px;"> <p> <img src="~/Images/t 阅读全文
posted @ 2016-05-06 15:55 骚年丶勿忘初心。 阅读(286) 评论(0) 推荐(0) 编辑
摘要:<html> <head> <style type="text/css"> * { margin: 0; padding: 0; } /*所有内容都在这个DIV内*/ .all { width: 100%; border: 1px solid #000000; } /*表头在这个DIV内*/ .ti 阅读全文
posted @ 2016-03-22 18:24 骚年丶勿忘初心。 阅读(9714) 评论(0) 推荐(0) 编辑
摘要:方法一:禁止中文输入法 <input type="text" style="ime-mode:disabled"> 方法二:禁止黏贴,禁止拖拽,禁止中文输入法! 这种方法是最强的禁止 中文输入 <input type="text" onpaste="return false" ondragenter 阅读全文
posted @ 2015-11-12 11:21 骚年丶勿忘初心。 阅读(318) 评论(0) 推荐(0) 编辑
摘要:一、对于div强制换行1.(IE浏览器)white-space:normal; word-break:break-all;这里前者是遵循标准。#wrap{white-space:normal; width:200px; }或者#wrap{word-break:break-all;width:200p... 阅读全文
posted @ 2015-07-31 11:07 骚年丶勿忘初心。 阅读(2617) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示