代码改变世界

彻底搞懂CSS文本、空白换行问题

2020-02-20 21:45 by Tellme_C#, 655 阅读, 0 推荐, 收藏, 编辑
摘要:word-break 该属性决定文本内容超出容器时,浏览器是否自动插入换行符。 属性值: normal:默认换行规则——英文以词为单位换行,连续字符不换行,直接溢出父元素 break-all:无视单词,强制在父元素边缘位置截断(最省空间,看起来最整齐,但单词可能被从中劈开)。另外连续的标点符号不会换 阅读全文

Django 搭建

2018-11-28 10:13 by Tellme_C#, 195 阅读, 0 推荐, 收藏, 编辑
摘要:1、安装python 2、pip 安装 Django 2.1.3 是版本号 命令:pip install Django==2.1.3 3、数据库驱动: mysql 数据库配置文档: 下载 whl 文件进行安装# 配置连接驱动 提示错误解决办法:https://www.lfd.uci.edu/~goh 阅读全文

HessianSharp如何部署到IIS7上?

2017-03-06 11:46 by Tellme_C#, 300 阅读, 0 推荐, 收藏, 编辑
摘要:第一:添加映射 第二:选择经典 阅读全文

多服务器Remoting

2013-06-04 00:02 by Tellme_C#, 743 阅读, 0 推荐, 收藏, 编辑
摘要:================Server===============using System;using System.Runtime.Remoting;using System.Collections;using System.Runtime.Remoting.Channels;using System.Runtime.Remoting.Channels.Tcp;namespace NET.MST.Twelfth.Server{ class Server1 { /// <summary> /// 服务器端应用 /// </summary> static void 阅读全文

Remoting 简单Demo

2013-06-03 23:55 by Tellme_C#, 228 阅读, 0 推荐, 收藏, 编辑
摘要:======RemoteServer=======using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Remoting;using System.Runtime.Remoting.Channels;using System.Runtime.Remoting.Channels.Tcp;using RemoteObject;namespace RemoteServer{ class Program { static void Main(strin 阅读全文

MySQL 触发器简单实例

2013-05-27 00:01 by Tellme_C#, 384 阅读, 0 推荐, 收藏, 编辑
摘要:CREATE TRIGGER <触发器名称> --触发器必须有名字,最多64个字符,可能后面会附有分隔符.它和MySQL中其他对象的命名方式基本相象.{ BEFORE | AFTER } --触发器有执行的时间设置:可以设置为事件发生前或后。{ INSERT | UPDATE | DELETE } --同样也能设定触发的事件:它们可以在执行insert、update或delete的过程中触发。ON <表名称> --触发器是属于某一个表的:当在这个表上执行插入、 更新或删除操作的时候就导致触发器的激活. 我们不能给同一张表的同一个事件安排两个触发器。FOR EACH RO 阅读全文

JS 时钟 获取当前时间

2013-05-22 23:33 by Tellme_C#, 224 阅读, 0 推荐, 收藏, 编辑
摘要:<script type="text/javascript" language="javascript">function get_time(){ var date = new Date(); var year = "", month = "", day = "", hour = "", minut 阅读全文

CSS+js弹出居中的背景半透明div层

2013-05-21 23:49 by Tellme_C#, 313 阅读, 0 推荐, 收藏, 编辑
摘要:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><style type="text/css">body{margin:0px}#big{width:100%; height:100%; position:absolute; top:0px; left:0px; right:0px; bottom:0px;bac 阅读全文

GridView 样式

2013-05-19 22:18 by Tellme_C#, 276 阅读, 0 推荐, 收藏, 编辑
摘要:.defaultGridV{border:solid 1px #8DB2E3; margin:2px auto;}.defaultGridV th{ height:25px; line-height:25px; border:solid 1px #8DB2E3; text-align:center; color:#15428B; background-color:#D9E7F8}.defaultGridV th a{ font-size:12px; color:#15428B; line-height:18px;text-decoration:none; font-weight:normal. 阅读全文

经验收藏

2012-05-23 14:54 by Tellme_C#, 137 阅读, 0 推荐, 收藏, 编辑
摘要:http://hi.baidu.com/%D7%DF_%B4%F8%C4%E3%CC%FD%B8%E8%C8%A5/blog 阅读全文