摘要: ::-moz-selection { background: #fe4902; color: white; /* Firefox */ }::selection { background: #fe4902; color: white; /* Opera,Safari,Chrome */}fyi 阅读全文
posted @ 2013-08-21 15:13 william.cw.wang 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 桌面图标圆角为ios系统自动生成,所以链接图片可以为一张放图,亦能自带圆角,当然使用圆角是需要注意圆角弧度。57*57为非retina设备支持,产品包括iphone、iphone 2g、iphone 3gs、itouch、itouch 2代、itouch 3代72*72为非retina iPad设备支持,包括ipad 1代、ipad 2代114*114为retina设备支持,产品包括iphone 4、iphone 4s、iphone 5、itouch 4代、itouch 5代144*144为retina iPad设备支持,包括ipad 3代、ipad 含retina屏幕、ipad min... 阅读全文
posted @ 2013-08-21 15:12 william.cw.wang 阅读(396) 评论(0) 推荐(0) 编辑
摘要: flashvars="file=vedio.flv"可以为:vedio.flv&autostar=true&image=news_file/threezao.jpgflv为对应swf文件目录images为页面文件目录swf下载路径为:http://files.cnblogs.com/wang4869/player.swf 阅读全文
posted @ 2013-08-21 15:01 william.cw.wang 阅读(872) 评论(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.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2012-03-04 04:49 william.cw.wang 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 网页可见区域宽:document.body.clientWidth 网页可见区域高:document.body.clientHeight 网页可见区域宽:document.body.offsetWidth (包括边线的宽) 网页可见区域高:document.body.offsetHeight (包括边线的宽) 网页正文全文宽:document.body.scrollWidth 网页正文全文高:document.body.scrollHeight 网页被卷去的高:document.body.scrollTop 网页被卷去的左:document.body.scrollLeft 网页正文部分上:wi 阅读全文
posted @ 2012-03-04 01:19 william.cw.wang 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 初始化代码如下: 1 /* Global Setting */ 2 body{margin:0; padding:0;text-align:left; font-size:12px; font-family:Arial,'宋体'; #font-family:'宋体',Arial; background:#FFF;} 3 table{border-collapse:collapse;} 4 td,th{padding:0;} 5 ul,li,dd,dl,dt{margin:0; padding:0; list-style:none;} 6 img{border:0 阅读全文
posted @ 2012-01-15 14:30 william.cw.wang 阅读(281) 评论(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.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html;charset 阅读全文
posted @ 2012-01-11 16:04 william.cw.wang 阅读(905) 评论(0) 推荐(1) 编辑