10 2020 档案

摘要:通过 github 搜索 object-fit ie , 借鉴大佬兼容 ie 的经验。 下载解压到文件夹 , 打开测试目录 , 查看 demo 使用 ie 打开demo , 查看显示效果 : 代码 : <!DOCTYPE HTML> <html> <head> <meta charset="utf- 阅读全文
posted @ 2020-10-30 08:54 武卡卡 阅读(2890) 评论(0) 推荐(1) 编辑
摘要:造成原因: 图片的 display 属性默认是 inline ,而这个属性的 vertical-align 的默认值是baseline。 解决办法1( 建议使用block , 对 ie浏览器 比较友好 ): 将 img 的 display 设置为 block img{ display : block 阅读全文
posted @ 2020-10-29 08:52 武卡卡 阅读(1492) 评论(0) 推荐(0) 编辑
摘要:img{ max-width: 100%; height: auto; } 阅读全文
posted @ 2020-10-28 23:16 武卡卡 阅读(78) 评论(0) 推荐(0) 编辑
摘要:Integer.valueOf("str").intValue(); Integer.valueOf("123").intValue(); 阅读全文
posted @ 2020-10-25 11:46 武卡卡 阅读(412) 评论(0) 推荐(0) 编辑
摘要:int a = (int)number.charAt(索引) 阅读全文
posted @ 2020-10-25 11:29 武卡卡 阅读(1095) 评论(0) 推荐(0) 编辑
摘要:int n= 1234; System.out.println(n%10 ); //获取个位 System.out.println((n/10)%10 ); //获取十位 System.out.println((n/100)%10 ); //获取百位 System.out.println((n/10 阅读全文
posted @ 2020-10-25 11:23 武卡卡 阅读(1175) 评论(0) 推荐(0) 编辑
摘要:package list; import java.util.ArrayList; import demo.Hero; public class ListTs { public static void main(String[] args) { ArrayList<Object> list = ne 阅读全文
posted @ 2020-10-23 23:04 武卡卡 阅读(80) 评论(0) 推荐(0) 编辑
摘要:word-break:keep-all; 阅读全文
posted @ 2020-10-22 22:32 武卡卡 阅读(100) 评论(0) 推荐(0) 编辑
摘要:package stream; import java.io.*; public class InputStreamReaderString { public static void main(String[] args) { File f = new File("src/stream","hell 阅读全文
posted @ 2020-10-21 21:29 武卡卡 阅读(180) 评论(0) 推荐(0) 编辑
摘要:package stream; import java.io.*; public class FileReaderTest { public static void main(String[] args) { File f = new File("src/stream","hello.txt"); 阅读全文
posted @ 2020-10-21 19:00 武卡卡 阅读(602) 评论(0) 推荐(0) 编辑
摘要:package filerun; import java.io.File; import java.io.IOException; public class RunExe { public static void main(String[] args) { // TODO Auto-generate 阅读全文
posted @ 2020-10-21 08:43 武卡卡 阅读(280) 评论(0) 推荐(0) 编辑
摘要:package practice; import java.io.File; import java.io.IOException; public class CreateFile { public static void main(String[] args) { File f = new Fil 阅读全文
posted @ 2020-10-19 10:15 武卡卡 阅读(118) 评论(0) 推荐(0) 编辑
摘要:1.原因: 修改表结构 XXX 为 not null 时,表数据 XXX 字 段 存在 null 值。 2.解决: 去掉或修改 带有 null 值 的 ( 需要设置 not null 的) 字段 阅读全文
posted @ 2020-10-17 22:22 武卡卡 阅读(35380) 评论(0) 推荐(9) 编辑
摘要:1,在 java project 目录下新建 lib 文件夹 2,将 mysql 的 jar 包 复制到 新建的 lib 文件夹 3,选中 lib 下的 jar 包 , 右键点击选择 build path 点击 选择 add to build path 4, 完成add to build path 阅读全文
posted @ 2020-10-14 18:27 武卡卡 阅读(374) 评论(0) 推荐(1) 编辑
摘要:配置JAVA_HOME,注意变量值是jdk的主目录,不是bin目录,并且不要加分号 阅读全文
posted @ 2020-10-12 18:32 武卡卡 阅读(48) 评论(0) 推荐(0) 编辑
摘要:package chushihua; public class Hello { public static String name = getValue("属性"); { name = getValue("块"); } public Hello() { name = getValue("构造方法") 阅读全文
posted @ 2020-10-11 11:51 武卡卡 阅读(649) 评论(0) 推荐(0) 编辑
摘要:classpath C:\Program Files\Java\jdk\jre\lib\rt.jar 阅读全文
posted @ 2020-10-07 08:50 武卡卡 阅读(198) 评论(0) 推荐(0) 编辑

喜欢请打赏

扫描二维码打赏

支付宝打赏

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