摘要: 当通过程序或者MySQL客户端插入数据的时候出现中文变成??这种类似的乱码时,多半是由于数据库编码的问题 1.如果是Java程序,则在url连接的地方加上?useUnicode=true&characterEncoding=utf 8 2.如果通过客户端或者命令行插入也依然报错,则修改mysql安装 阅读全文
posted @ 2018-01-16 23:01 mysure 阅读(2602) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html Document label { display: inline block; width: 80px; height: 30px; text align: right; margin top: 20px; } 出生日期: <! name 改的话 要改css js 年 阅读全文
posted @ 2018-01-09 17:29 mysure 阅读(605) 评论(0) 推荐(0) 编辑
摘要: "来源" <!DOCTYPE html Document .hint{ width: 200px; height: 80px; box shadow: 0 1px 1px 1px ccc; display: none; vertical align: top; position: relative; 阅读全文
posted @ 2018-01-09 00:20 mysure 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 图片预加载实例 <!DOCTYPE html Document body,html{ width: 100%; height: 100%; } .img{ width: 100%; height: 80%; } img{ width: 100%; height: 100%; } button{ wi 阅读全文
posted @ 2018-01-08 23:31 mysure 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 响应式开发学习笔记 @media 媒体类型 and (媒体特性){你的样式} 1. 最大宽度max width “max width”是媒体特性中最常用的一个特性,其意思是指媒体类型小于或等于指定的宽度时,样式生效。如: @media screen and (max width:480px){ .a 阅读全文
posted @ 2018-01-07 00:54 mysure 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 关于viewport width:控制 viewport 的大小,可以指定的一个值,如果 600,或者特殊的值,如 device width 为设备的宽度(单位为缩放为 100% 时的 CSS 的像素)。 height:和 width 相对应,指定高度。 initial scale:初始缩放比例,也 阅读全文
posted @ 2018-01-07 00:53 mysure 阅读(105) 评论(0) 推荐(0) 编辑
摘要: HTML5 中的结构元素 "https://www.cnblogs.com/xiaohuochai/p/5087815.html" CSS 命名规范 1、 "http://mp.weixin.qq.com/s?__biz=MzI0NDAzOTYxMw==&mid=402255125&idx=3&sn 阅读全文
posted @ 2018-01-07 00:53 mysure 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: linux deppin 下配置xampp的方法(全) 1、首先从官网下载xampp linux版本 https://www.apachefriends.org/download.html 运行 surest@surest PC:/$ sudo ./xampp linux.run 教程地址(我从这上 阅读全文
posted @ 2018-01-06 17:00 mysure 阅读(356) 评论(0) 推荐(0) 编辑
摘要: XAMPP 配置密码大全 首先安装完XAMPP之后,点击start之后就会开启 ( 如果报错,一般是端口占用,具体百度) 我们使用shell 来进入我们的mysql命令行界面 (因为是第一次安装,所以是默认为空密码) mysql –u root Mysql Mysql(none) (上诉情况表示成功 阅读全文
posted @ 2018-01-05 17:33 mysure 阅读(5064) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html Document (function($){ $.fn.maxHeight = function(){ var max = 0; this.each(function(){ max = Math.max(max,$(this).height()) }) return m 阅读全文
posted @ 2018-01-03 20:51 mysure 阅读(741) 评论(0) 推荐(0) 编辑