脚 本 之 家 www.jb51.net
页面导航:  不限条件-->书写
本地搜索:
无意中发现,针对同一HTML标记,在CSS中同时应用了font和line-height属性时,就得小心了,这二者的书写顺序不一样,会导致显示效果不同。即:>>> 如果先写font,再写line-height,显示效果正常>>> 如果先写line-height,再写font,则line-height定义的效果会丢失,在IE、Firefox、Opera下都出现这种BUG具体效果请看以下代码:[html]<p>h1:</p> <h1 style="background:#f00;margin:5...
http://www.jb51.net//article/5201.htm
<%functionWriteToFile(FileName,Contents,Append)onerrorresumenextifAppend=truethen iMode=8else iMode=2endifsetoFs=server.createobject("Scripting.FileSystemObject")setoTextFile=oFs.OpenTextFile(FileName,iMode,True)oTextFile.WriteContentsoTextFile.ClosesetoTextFile=nothingsetoFS=nothingend...
http://www.jb51.net//article/4714.htm
原著:Kevin Yank  转自:www.linuxforum.net (恭喜再此开通)在很长一段时间内,PHP作为服务器端脚本语言的最大卖点之一就是会为从表单提交的值自动建立一个全局变量。在PHP 4.1中,PHP的制作者们推荐了一个访问提交数据的替代手段。在PHP 4.2中,他们取消了那种老的做法!正如我将在这篇文章中解释的那样,作出这样的变化的目的是出于安全性的考虑。我们将研究PHP在处理表单提交及其它数据时的新的做法,并说明为什么这样做会提高代码的安全性。 这里有什么错误? 看看下面的这段PHP脚本,它用...
http://www.jb51.net//article/1706.htm
*mozilla.orgBaseStyles*maintainedbyfantasai*(classesdefinedintheMarkupGuide-http://mozilla.org/contribute/writing/markup)*//*Suggestedorder://显示属性*display*list-style*position*float*clear//自身属性*width*height*margin*padding*border*background//文本属性*color*font*text-decoration*text-align*vertical-align*wh...
http://www.jb51.net//article/1120.htm
//显示属性displaylist-stylepositionfloatclear//自身属性widthheightmarginpaddingborderbackground//文本属性colorfonttext-decorationtext-alignvertical-alignwhite-spaceother textcontent ...
http://www.jb51.net//article/865.htm
window.open()方法打开一个新窗口,document.open()方法打开一个新文档,在其中可以使用write()或者writeln()方法书写内容,它的语法是:   oNewDoc = document.open(sMimeType[, sReplace]);   sMineType是一个字符串,它定义了MIME类型。Navigator支持几种不同的MIME类型,但是Internet Explorer当前仅仅支持“text/html”。sMineType参数是可选的。第2个参数也是一个字符串,它定义了被书写的新文档是否要替...
http://www.jb51.net//article/417.htm
共有:16/10,当前2/2页  [首页] [上一页] 1 2 [下一页] [尾页] 转到: