Asp,Php,Jssdk,mysql,mssql,微信公众号开发,小程序开发-学习笔记 收集日常学习笔记和重点,交流QQ:79657181,手机/微信:18611436777

margin标记可以带一个、二个、三个、四个参数,各有不同的含义。

margin标记可以带一个、二个、三个、四个参数,各有不同的含义。

margin: 20px;(上、下、左、右各20px。)
margin: 20px 40px;(上、下20px;左、右40px。)
margin: 20px 40px 60px;(上20px;左、右40px;下60px。)
margin: 20px 40px 60px 80px;(上20px;右40px;下60px;左80px。)

在css中使用margin可以将margin-top,margin-right,margin-bottom,margin-left,缩写为一个标记,顺序为上右下左(顺时针)。

2018年5月21日 | 发布:anco | 分类:css | 评论:0

推送模板消息可以换行的方式

'推送发货通知---------------------------------------------

userID = rf("userID")

wx_add = rf("wx_add")

wl_gs = rf("wl_gs")

wl_dh = rf("wl_dh")

openid = rf("openid")

hyname = rf("hyname")

2018年5月15日 | 发布:anco | 分类:微信jssdk | 评论:0

css背景颜色过度效果,还可以用于提交按钮submit

.submit{ float:left; background:linear-gradient(to right,#fd9403,#fe593d); width:20%; height:40px; margin-left:3%; border-radius:6px; margin-top:5px; text-align:center; line-height:40px; color:#fff;}

2018年5月14日 | 发布:anco | 分类:css | 评论:0

微信推送模板消息

{{first.DATA}}

用户名称:{{keyword1.DATA}}

联系电话:{{keyword2.DATA}}

产品型号:{{keyword3.DATA}}

用户地址:{{keyword4.DATA}}

购买日期:{{keyword5.DATA}}

其他备注:{{keyword6.DATA}}

{{remark.DATA}}




2018年5月11日 | 发布:anco | 分类:微信jssdk | 评论:0

【CSS】单行图片与文字垂直居中

单行图片与文字垂直居中核心关键,是在img标签中的style属性加入vertical-align:middle;样式

2018年5月3日 | 发布:anco | 分类:css | 评论:0

css自动省略字多的标题

/*首页新闻自动省略字多的标题start*/

.syl_list {width:260px;}

.syl_list ul li{height:30px; line-height:30px; font-size:14px;}

.syl_list ul li+li{border-top:1px dashed #614d46;}

.syl_list ul li a{color:#e8892d; background: url(../images/index_icon4.jpg) 3px center no-repeat; padding-left:20px; display:block; overflow:hidden; white-space:nowrap; -ms-text-overflow:ellipsis; text-overflow:ellipsis;}

2018年5月3日 | 发布:anco | 分类:css | 评论:0

asp实现html伪静态竟然那么简单

1.单参数

功能:

把:www.44721.cn/movie.asp?id=123

伪静态为:www.44721.cn/movie.asp?123.html

 

代码如下: 

 

ASP/Visual Basic代码

<% 

id=request.QueryString("id") 

If id="" Then 

2018年4月26日 | 发布:anco | 分类:asp | 评论:0