- 18
- 0
- 约1.59万字
- 约 11页
- 2016-10-19 发布于贵州
- 举报
网页初学者必看一些精选代码
网页初学者必看的一些精选代码如内容超出单元格,则隐藏style=TABLE-LAYOUT:fixed让弹出窗口总是在最上面:bodyonblur=this.focus();不要滚动条?让竖条没有:bodystyle=overflow:scroll;overflow-y:hidden/body让横条没有:bodystyle=overflow:scroll;overflow-x:hidden/body两个都去掉?更简单了bodyscroll=no/body怎样去掉图片链接点击后,图片周围的虚线?ahref=#onFocus=this.blur()imgsrc=logo.jpgborder=0/a电子邮件处理提交表单formname=form1method=postaction=mailto:****@***.comenctype=text/plaininputtype=submit/form在打开的子窗口刷新父窗口的代码里如何写?window.opener.location.reload()如何设定打开页面的大小bodyonload=top.resizeTo(300,200);在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动htmlheadSTYLEbody{background-image:url(logo.gif);background-repeat:no-repeat;background-position:center}/STYLE/headbodybgproperties=fixed/body/html各种样式的光标auto:标准光标default:标准箭头hand:手形光标wait:等待光标text:I形光标vertical-text:水平I形光标no-drop:不可拖动光标not-allowed:无效光标help:?帮助光标all-scroll:三角方向标move:移动标crosshair:十字标e-resizen-resizenw-resizew-resizes-resizese-resizesw-resize本机ip=request.servervariables(remote_addr)服务器名=Request.ServerVariables(SERVER_NAME)服务器IP=Request.ServerVariables(LOCAL_ADDR)服务器端口=Request.ServerVariables(SERVER_PORT)服务器时间=nowIIS版本=Request.ServerVariablesSERVER_SOFTWARE)脚本超时时间=Server.ScriptTimeout本文件路径=server.mappath(Request.ServerVariables(SCRIPT_NAME))服务器CPU数量=Request.ServerVariables(NUMBER_OF_PROCESSORS)服务器解译引擎=ScriptEngine/ScriptEngineMajorVersion.ScriptEngineMinorVersion.ScriptEngineBuildVersion服务器操作系统=Request.ServerVariables(OS)文本竖排方式styletype=text/css!--.shupai{Writing-mode:tb-rl}--/style超链接去虚线边框在链接中加上onfocus=this.blur()网页搜索关键字头里插入METANAME=keywordsCONTENT=xxxx,xxxx,xxx,xxxxx,xxxx,收藏夹图标linkrel=ShortcutIconhref=favicon.ico我的电脑file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}网上邻居file:///::{208D2C60-3AEA-1069-A2D7-08002B30309D}我的文档file:///::{450D8FBA-AD25-11D0-98A8-0800361B1103}控制面板file:///::{20D04FE0-3AEA-1069-A2D8-08002B30309D}/::{21EC2020-3AEA-1069-A2DD-08002B30309D}回收站file:///::{645FF040-5081-101B-9F08-00AA002F954E}鼠标控制图片隐现效果把如下代码加入<body>区域中:SCRIPTlanguage=javascript!--functionma
原创力文档

文档评论(0)