随笔分类 - 前端
摘要:<html><head><meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"><meta name="GENERATOR" content="Microsoft FrontPage 4.0"><meta name="ProgId" content="FrontPa...
阅读全文
摘要:一、表格的常用属性基本属性有:width(宽度)、height(高度)、border(边框值)、cellspacing(表格的内宽,即表格与tr之间的间隔)、 cellpadding(表格内元素的间隔,即tr与tr之间的间隔)、bordercolorlight(表格的亮边框颜色)、 bordercolordark(表格的暗边框颜色)、bgcolor(表格的背景色)、background(表格的背景...
阅读全文
摘要:用正则表达式: bool IsValidEmail(string strIn) { // Return true if strIn is in valid e-mail format. return Regex.IsMatch(strIn, @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]...
阅读全文
摘要:我们在写页面代码的时候,有时把一个表格的宽度定死后会出现里面的文字不见了,特别是英文。这就是他换行了所导致的,这时我们就需要加些CSS元素让它来听我们的话!根据自己以往的经验,也参考了些网上的文章,具体如下: 强制不换行 div{white-space:nowrap;} 自动换行 div{ word-wrap: break-word; word-break: normal; } 强制...
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var $ = function (id) { return "string" == typeof id ? document.getElementById(id) : id;};fun...
阅读全文
摘要:要使用好Ajax.net,就要学会灵活运用Ajax.net所提供的Ajax Control Toolkit。该控件包提供了很多使用效果很炫的控件,有了它你能轻松打造一个Ajax网站。从本章开始,我们一起来学习怎样使用Ajax Cotrol Toolkit中的所有控件。 第一步:创建Ajax Toolkit模板 大家应该有印象,当我们成功安装了Ajax扩展包之后,VS.net的模板中就多了一个A...
阅读全文
摘要:Snazzy BordersBased on Nifty Corners By Alessandro Fulcinitihttp://pro.html.it/esempio/nifty/ content
阅读全文
摘要:http://www.cnblogs.com/pointdeng/articles/1171323.html 无标题页 这里放内容 ...
阅读全文
摘要:原文:http://www1.biochems.cn/63.htm昨天抛弃了FreeTextBox1.6中文版,改用FCKeditor 2.1.1。FCKeditor不仅加上了FLASH插入功能,而且它的兼容性超强:支持多种浏览器包括IE 5.5+、Firefox 1.0+、Mozilla 1.3、Netscape 7+;无平台限制,在Windows、Mac、Linux下都能运行;可以和多种WEB...
阅读全文
摘要:简介:对于FreeTextBox(版本3.1.6)在ASP.Net 2.0中使用,只需要2个文件:FreeTextBox.DLL和ftb.imagegallery.aspx1。下载最新版FreeTextBox(版本3.1.6),解压 FreeTextBox 3.1.6 (2007/10/17) 博客园本地下载: http://www.cnblogs.com/Files/cleo/FTBv...
阅读全文
摘要:/***Title:check email pattern Code*Time:2006-11-24 *Author:colinmok*/ function chkSendEmail(){ //检查是否为空 if(frmSendEmail.to.value==""){ alert("请输入1至10个Email!"); document.frmSendEmail.to.focus(...
阅读全文
摘要:方法一:private void Page_Load(object sender, System.EventArgs e) { ViewState["submittimes"]=Convert.ToInt32(ViewState["submittimes"])+1; if(!Page.IsPo...
阅读全文
摘要:脚本说明: 第一步:把如下代码加入 区域中 style="cursor:hand" style="cursor:crosshair" style="cursor:text" style="cursor:wait" style="cursor:move" style="cursor:help" style="cursor:e-resize" style="cursor:...
阅读全文