摘要: 创建数据库表,需要为表名和字段名添加说明,要养成良好的习惯。1、语句方式如下:例如:create table 表名称( 列名称 数据类型, ...)EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键自增长' ...详细使用可以阅读相关参考手册。2、图形工具方式如下: 阅读全文
posted @ 2012-02-01 17:42 前端咖 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 1、透明度opacity: 0.3;filter:alpha(opacity=30); opacity设置透明度,后代元素会继承当前元素的透明度。效果如下图:<!DOCTYPE html><html><head> <title>透明度---opacity---www.cnblogs.com/kuikui</title> <style type="text/css"> .test { width: 500px; height: 300px; text-align: center; ... 阅读全文
posted @ 2012-02-01 16:49 前端咖 阅读(7764) 评论(0) 推荐(0) 编辑
摘要: 1、加深color颜色的值采用rgb计算方式 num = Math.floor( num * ( 1 - level ));2、减淡color颜色的值采用rgb计算方式 num = Math.floor(( 255 - num) * level + num )3、web安全色采用rgb计算方式 将num除以51再乘以51分别向下、向上取整,尽兴比较 tmp1 = Math.floor( num / 51 ) * 51; tmp2 = Math.ceil( num / 51 ) *51; if(Math.abs( tmp1 - num ) <= Math.abs( tmp2 - num ) 阅读全文
posted @ 2012-02-01 11:39 前端咖 阅读(9502) 评论(0) 推荐(1) 编辑