摘要: 基本格式:<html> <head> <title></title> </head> <body> </body></html> 设置网页背景颜色:<body bgcolor="颜色"></body> 设置网页背景图片:<body background="图片.jpg"></body> 添加网页背景 阅读全文
posted @ 2016-09-14 11:42 黯紫萌音 阅读(2086) 评论(0) 推荐(0) 编辑
摘要: html5浏览器版本低于IE9时,加上如下代码: <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> 阅读全文
posted @ 2016-09-14 11:38 黯紫萌音 阅读(189) 评论(0) 推荐(0) 编辑
摘要: css代码: /*边框*/ .shadow_border{border: 1px solid #000;padding: 60px; width:100px;-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;- 阅读全文
posted @ 2016-09-14 11:35 黯紫萌音 阅读(18154) 评论(0) 推荐(1) 编辑
摘要: css代码: .border{width:500px; height:200px; border-bottom:2px solid #000000; -webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);} html代码: <div 阅读全文
posted @ 2016-09-14 11:01 黯紫萌音 阅读(300) 评论(0) 推荐(0) 编辑
摘要: CSS符号属性:list-style-type:none; /*不编号*/ list-style-type:decimal; /*阿拉伯数字*/ list-style-type:lower-roman; /*小写罗马数字*/ list-style-type:upper-roman; /*大写罗马数字 阅读全文
posted @ 2016-09-14 09:43 黯紫萌音 阅读(156) 评论(0) 推荐(0) 编辑
摘要: css代码: .font{-moz-text-shadow:#F00 1px 0 0,#F00 0 1px 0,#F00 -1px 0 0,#F00 0 -1px 0;text-shadow:#F00 1px 0 0,#F00 0 1px 0,#F00 -1px 0 0,#F00 0 -1px 0; 阅读全文
posted @ 2016-09-14 09:39 黯紫萌音 阅读(2442) 评论(0) 推荐(0) 编辑
摘要: 编写一个个人信息二维码:首先先下载一个生成二维码的ThoughtWorks.QRCode.dll(注:下载后将其添加引用到项目中即可)然后设计一个窗体:using System;using System.Collections.Generic;using System.ComponentModel;... 阅读全文
posted @ 2014-10-02 13:19 黯紫萌音 阅读(715) 评论(0) 推荐(0) 编辑
摘要: public class Test { public static void main(String[] args) { //电子邮件 String check = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)... 阅读全文
posted @ 2014-10-02 12:15 黯紫萌音 阅读(4298) 评论(0) 推荐(0) 编辑
摘要: 联系电话(手机固话):((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)(\(\d... 阅读全文
posted @ 2014-09-29 12:04 黯紫萌音 阅读(317) 评论(0) 推荐(1) 编辑