位置问题 图层定位可使用页面内框架<iframe>...</iframe> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 what browser are you using? if you are using IE, 1. <div style="position:absolute;left:5cm;top:5cm">hello world</div>2. you need to use document.all, seehttp://msdn.microsoft.com/workshop/author/dhtml/reference/collections/all.asp?frame=true 不知道你的不变形是什么意思,看个例子:<HTML><script>function divcenter(){document.all.mxh.style.left=(Math.round((document.body.scrollWidth-200)/2)).toString()+"px"}</script><body onload="divcenter()" onresize=divcenter()><table width=100%><tr><td>test</td></tr></table><div id=mxh style="position:absolute;left:200px;top:30px;width:200px;height:200px;background-color:navy;border:2px;color:#FFFFFF">测试文字</div></HTML>2:document.layer是NS里用的,可以到NETSCAPE网站找到资料。你可以用NETSCAPE6+的浏览器,所支持的属性有:Netscape 6 支持的对象和属性列表http://www.csdn.net/Develop/Read_Article.asp?Id=5361 有关LAYERS,可参见:http://developer.netscape.com/docs/manuals/communicator/dynhtml/dynamici.htmhttp://developer.netscape.com/docs/manuals/htmlguid/tags12.htm#1703974http://developer.netscape.com/docs/manuals/js/client/jsref/layer.htmhttp://developer.netscape.com/docs/manuals/js/client/jsref/contents.htm <div style="position:absolute;left:5cm;top:5cm">hello world</div>如果想在分辨率变化但图层不边的话,那么你应该把图层放在表里,在对单元各进行样式设定!.layer { position: relative; clip: rect( )}就OK了document.layer属性你可以去他们推荐的站点进行查找!!全是英文的,我是不怎么看的懂,如果有中文的网站给我介绍一下!! 单选或多选选中后把对应的值传给输入框显示选中的值 刷新出现不同的flash 列表框和文本框数据交换(紧急求助) 为什么百度MP试听那个页面打开时IE没有阻止? netscape下document.open问题 难题!!! 倒计时问题,如何定时调用一段代码。谢谢各位 删除页面的file控件问题 关于跨表单取的多个相同名称的checkbox的值的问题 如何用图片实现提交按钮?救急! 急!在JavaScript里输入引号??? 关于innerText和value的区别
1.
<div style="position:absolute;left:5cm;top:5cm">hello world</div>2. you need to use document.all, see
http://msdn.microsoft.com/workshop/author/dhtml/reference/collections/all.asp?frame=true
<HTML>
<script>
function divcenter(){
document.all.mxh.style.left=(Math.round((document.body.scrollWidth-200)/2)).toString()+"px"
}
</script>
<body onload="divcenter()" onresize=divcenter()>
<table width=100%>
<tr>
<td>test
</td>
</tr>
</table>
<div id=mxh style="position:absolute;left:200px;top:30px;width:200px;height:200px;background-color:navy;border:2px;color:#FFFFFF">测试文字</div>
</HTML>2:document.layer是NS里用的,可以到NETSCAPE网站找到资料。你可以用NETSCAPE6+的浏览器,所支持的属性有:Netscape 6 支持的对象和属性列表
http://www.csdn.net/Develop/Read_Article.asp?Id=5361
http://developer.netscape.com/docs/manuals/communicator/dynhtml/dynamici.htmhttp://developer.netscape.com/docs/manuals/htmlguid/tags12.htm#1703974http://developer.netscape.com/docs/manuals/js/client/jsref/layer.htmhttp://developer.netscape.com/docs/manuals/js/client/jsref/contents.htm
如果想在分辨率变化但图层不边的话,那么你应该把图层放在表里,在对单元各进行样式设定!
.layer { position: relative; clip: rect( )}
就OK了document.layer属性你可以去他们推荐的站点进行查找!!
全是英文的,我是不怎么看的懂,如果有中文的网站给我介绍一下!!