
Web
文章平均质量分 55
broze
人生如戏,戏如人生。
努力赚钱养活家人,实现环游世界的梦想。
加油!纽卡!
展开
-
HTTP 1.1与HTTP 1.0的比较
HTTP 1.1与HTTP 1.0的比较。转载 2010-10-29 10:06:00 · 540 阅读 · 0 评论 -
clear:both的理解
clear:both的理解在CSS中我们会经常要用到“清除浮动”Clear,比较典型的就是clear:both;CSS手册上是这样说明的:该属性的值指出了不允许有浮动对象的边。这个属性是用来控制float属性在文档流的物理位置的。当属性设置float(浮动)时,其所在的物理位置已经脱离文档流了,但是大多时候我们希望文档流能识别float(浮动),或者是希望float(浮动)后面转载 2012-08-16 16:48:23 · 508 阅读 · 0 评论 -
Flash of Unstyled Content (FOUC)
原帖地址:http://blog.163.com/fym_841388617_fym/blog/static/2078085512012620111624755/这个也不错,http://my.oschina.net/xcntime/blog/6705什么是FOUC(文档样式短暂失效)?如果使用import方法对CSS进行导入,会导致某些页面在Windows 下的Interne转载 2012-11-01 17:51:38 · 546 阅读 · 0 评论 -
用css控制cellspacing、cellpadding
原帖地址:http://silbo.net/551.html在table中控制单元格之间的间距要用到cellspacing、cellpadding,默认情况cellspacing、cellpadding均不为0,但经常的状况为了不让table单元格之间的间距影响到美观,我们经常会把cellspacing、cellpadding设置为0,因此经常看到“”这样的代码。这样做无形中增转载 2012-12-28 16:36:25 · 332 阅读 · 0 评论 -
javascript的urlencode
原帖地址:http://blog.youkuaiyun.com/nich262/article/details/3208573今天在一个原来使用AJAX自动缩小选择内容的项目上突然发现当输入名称时,如果输入有特殊字符&的时候,选择的内容不会发生变化,也就是 说输入的内容在&后面的内容会被截断,经过查证才发现在客户端使用AJAX发送获取到客户端数据的时候,数据内容是没有经过url编码的就是直接 放在url地转载 2013-04-03 15:14:14 · 798 阅读 · 0 评论 -
关于 reCAPTCHA 验证码
原帖地址:http://jandan.net/2013/02/17/recaptcha.html国外很多下载站用到下面这种验证码,它其实是 Google 提供的 reCAPTCHA 服务(link),可以免费申请和使用。# Jimmy Liye 同学翻译了 Google reCAPTCHA 的部分说明(原文:放了这只验证码吧):验证码大家每天都会见到,可是你会想到当你每转载 2013-09-24 10:48:45 · 17658 阅读 · 0 评论 -
图片热区应用
很久不用热区了,几乎都块忘记了。首先要在图片上加上usemap属性,如下所示:之后就可以建立热区了。 coords="0,0,28,12",这里面的四个数字是坐标,分别对应x1,y1,x2,y2,比如这里的x坐标就是0和28,也就是宽度;y坐标就是0和12,也就是高度。原创 2013-09-27 16:45:51 · 865 阅读 · 0 评论 -
web.config中SessionState的配置
原帖地址: http://www.cnblogs.com/365haha/archive/2006/08/21/482491.htmlweb Form 网页是基于HTTP的,它们没有状态,这意味着它们不知道所有的请求是否来自同一台客户端计算机,网页是受到了破坏,以及是否得到了刷新,这样就可能造成信息的丢失。 于是,状态管理就成了开发网络应用程序的一个实实在在的问题。在ASP转载 2014-01-07 14:10:01 · 638 阅读 · 0 评论 -
Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL serve
原帖地址:http://www.power-programming.co.uk/post/2010/11/12/Unable-to-use-SQL-Server-because-ASPNET-version-20-Session-State-is-not-installed-on-the-SQL-server-Please-install-ASPNET-Session-State-SQL-Serv转载 2014-01-09 16:48:46 · 1944 阅读 · 0 评论 -
通过jQuery遍历div里面的checkbox,实现全选的功能
$('#chkGiftGeneral').click(function () { $('#divGiftGeneral input[type="checkbox"]').attr("checked", this.checked); });原创 2012-04-09 15:13:16 · 9920 阅读 · 0 评论 -
How to make text of an html checkbox clickable (like ASP.NET control)
If you put a label HTML tag after the checkbox (either HTML check box or Server Side checkbox control), and set the ID of the check box to the "for" attribute of the label tag, clicking the text in转载 2012-01-04 11:21:15 · 992 阅读 · 0 评论 -
javascript痩身工具jsmin和YUI Compressor
JSmin Javascript痩身工具,使用前最好用JSLit整理js代码。JSmin有很多语言版本,C和PHP版等。YUI Compressor: Yahoo! UI Library系列工具之一,java语言编写,下载后可直接使用。原帖地址:http://ww转载 2011-10-10 16:07:10 · 792 阅读 · 0 评论 -
常见Http Header返回状态详解
常见Http Header返回状态详解。转载 2010-10-29 09:58:00 · 4873 阅读 · 0 评论 -
Key Differences between HTTP/1.0 and HTTP/1.1
The HTTP/1.1 protocol is the result of four years of discussion and debate among a broad group of Web researchers and developers. It improves upon its phenomenally successful predecessor, HTTP/1.0, in numerous ways. We discuss the differences between HTTP/转载 2010-10-29 10:08:00 · 1576 阅读 · 0 评论 -
Flash object的写法
刚入行时,正值flash兴起,所以对于如何在页面上放flash object,我一直是按照下列代码去设置的。 之后因为主要负责程序,对这块美工负责的东西也没有在意,没想到今天出问题了,这段代码不起作用了,狂汗啊。 后来查了查网,原来现在流行下面的写法。 看来东西经常会变啊,有时候你不知道就是不知道。原创 2011-06-09 14:25:00 · 1071 阅读 · 0 评论 -
非常好的在网页中显示pdf的方法
今天有一需求,要在网页中显示pdf,于是立马开始搜索解决方案,无意中发现一个非常好的解决方法,详见http://blogs.adobe.com/pdfdevjunkie/web_designers_guide。其实就光看这个网站也足够了,http://www.pdfobjec原创 2011-09-02 15:47:29 · 61397 阅读 · 11 评论 -
如何在网页上加载avi?
最近项目中有一需求,需要在网页上加载avi,本以为是件很简单的事,只要去网上搜一下现成的代码即可,但没想到大部分的代码都不好使,经过自己琢磨研究,终于搞定了,高兴之余不免有些感慨,天下文章一般抄啊。下面是我的代码,年纪大了,留个记号,不知道哪天又要用到了。原创 2011-09-02 14:20:25 · 1419 阅读 · 0 评论 -
Using the window.open method
The syntax of the window.open method is given below:open (URL, windowName[, windowFeatures])URLThe URL of the page to open in the转载 2011-09-07 14:34:11 · 1060 阅读 · 0 评论 -
最新chrome css hack【firefox 3.5发布之后对chrome依然有效】
最新chrome css hack【firefox 3.5发布之后对chrome依然有效】网上找到很多文章,全都一个样,firefox 3.5发布之后那些方法都没有用了。下面的才是真方法:最新chrome css hack@medi转载 2011-09-23 12:38:18 · 694 阅读 · 0 评论 -
CSS在不同IE下的写法
top: -16px !important; /*IE6*//top: -34px !important; /*IE7*/top: -33px/ !important; /*IE8*/ left: -10px; /*IE6*//left: -100px原创 2010-06-24 16:21:00 · 577 阅读 · 0 评论 -
Why Programming Language “Rust” is Getting all the Love
Rust is the most loved language of developers. Here’s why.Rust, a new systems programming language from Mozilla is becoming increasingly popular, due to features such as memory safety and its performa...转载 2018-05-08 11:19:05 · 295 阅读 · 0 评论