|
如内容超出单元格,则隐藏 style="TABLE-LAYOUT: fixed"
让弹出窗口总是在最上面: <body onblur="this.focus();"> 不要滚动条? 让竖条没有: <body style='overflow:scroll;overflow-y:hidden'> </body> 让横条没有: <body style='overflow:scroll;overflow-x:hidden'> </body> 两个都去掉?更简单了 <body scroll="no"> </body> 怎样去掉图片链接点击后,图片周围的虚线? <a href="#" onFocus="this.blur()"><img src="logo.jpg" border=0></a> 电子邮件处理提交表单 <form name="form1" method="post" action="mailto:****@***.com" enctype="text/plain"> <input type=submit> </form> 在打开的子窗口刷新父窗口的代码里如何写? window.opener.location.reload() 如何设定打开页面的大小 <body onload="top.resizeTo(300,200);"> 在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动 <html><head> <STYLE> body {background-image:url(logo.gif); background-repeat:no-repeat; background-position:center } </STYLE> </head> <body bgproperties="fixed" > </body> </html>
各种样式的光标 auto :标准光标 default :标准箭头 hand :手形光标 wait :等待光标 text :I形光标 vertical-text :水平I形光标 no-drop :不可拖动光标 not-allowed :无效光标 help :?帮助光标 all-scroll :三角方向标 move :移动标 crosshair :十字标 e-resize n-resize nw-resize w-resize s-resize se-resize sw-resize
本机ip<%=request.servervariables("remote_addr")%> 服务器名<%=Request.ServerVariables("SERVER_NAME")%> 服务器IP<%=Request.ServerVariables("LOCAL_ADDR")%> 服务器端口<%=Request.ServerVariables("SERVER_PORT")%> 服务器时间<%=now%> IIS 版本<%=Request.ServerVariables"SERVER_SOFTWARE")%> 脚本超时时间<%=Server.ScriptTimeout%> 本文件路径<%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%> 服务器CPU数量<%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%> 服务器解译引擎<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %> 服务器操作系统<%=Request.ServerVariables("OS")%>
文本竖排方式 <style type="text/css"> <!-- .shupai {Writing-mode:tb-rl} --> </style> 超链接去虚线边框 在链接中加上onfocus="this.blur()"
网页搜索关键字 头里插入 <META NAME="keywords" CONTENT="xxxx,xxxx,xxx,xxxxx,xxxx,">
收藏夹图标 <link rel = "Shortcut Icon" href="favicon.ico">
我的电脑 file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D} 网上邻居 file:///::%7B208D2C60-3AEA-1069-A2D7-08002B30309D%7D 我的文档 file:///::%7B450D8FBA-AD25-11D0-98A8-0800361B1103%7D 控制面板 file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D} 回收站 file:///::%7B645FF040-5081-101B-9F08-00AA002F954E%7D
鼠标控制图片隐现效果 把如下代码加入<body>区域中: <SCRIPT language="javascript"> <!-- function makevisible(cur,which){ if (which==0) cur.filters.alpha.opacity=100 else cur.filters.alpha.opacity=20 } //--> </SCRIPT> 2、把如下代码加入<body>区域中: <img src="2.gif" style="filter:alpha(opacity=20)"
|