用z-index:xxx是不行的, 有好办法 吗谢谢
解决方案 »
- 通过text输入框找到select中的项,急,在线等。。。
- js倒计时 如何加 毫秒
- 关于在ASP内嵌套JS程序的问题,急救!
- 关于getElementById的奇怪问题
- 我想在textarea显示不同颜色的多种字段的文本
- type为空或不是对象
- 隐藏表格的行,这样的语句实现不了,请教如何实现??
- 如何在客户端进行分页显示记录?
- 表单内有四个多选框,还有一个输入框为e,如何使点击多选框时,输入框的值同时为多选框的值
- 请问如何判断表单没有某个对象???
- 听说可以在javascript里加入jsp的代码,我怎么不行?
- 请问怎样在下拉表中怎样让他拉出图片呢<SELECT 。。><OPTION>图片</OPTION>
下面的英文是说;IE4+支持z-index属性,但只有ie5.5+的iframe才支持iframe的z-index属性。就象那个讨厌的select一样是属于窗口级的[ie4,ie5]元素,不能使用z-index来定位顺序。
你可以采用visibility来让他隐藏或者调整位置到层的范围之外。Stacking Inline Floating Frames
Internet Explorer 4.0 and later supports the z-index attribute. However, only Internet Explorer 5.5 and later support the z-index attribute with inline floating frames[就是指IFRAME]. By specifying the z-order of floating frames, you can stack one frame on top of another.To specify the position of the inline floating frame, use the z-index attribute.<IFRAME SRC="frame.htm" STYLE="z-index:1" ></IFRAME>Positive z-index values are positioned above a negative (or lesser value) z-index. Two objects with the same z-index are stacked according to source order. A positive value positions the element above text that has no defined z-index, and a negative value positions it below. Set this parameter to null to remove the attribute.The zIndex property only applies to objects that have the position property set to relative or absolute.The property does not apply to windowed controls, such as select objects.As of Microsoft® Internet Explorer 5.5, the iframe object is windowless and supports the zIndex property. In earlier versions of Internet Explorer, the iframe object is windowed and, like all windowed controls, ignores the zIndex property. If you maintain Web pages that were designed for earlier versions of Internet Explorer that do not support the zIndex property, you might want to redesign the pages, especially if the pages contain iframe objects that are stacked on top of windowed controls, such as select objects. You can use the visibility attribute to hide windowed controls that you want an iframe object to overlap. You can also position windowed controls so that iframe objects do not overlap them.