PRB: zOrder Property Cannot Be Set On Windowed ControlsID: Q177378
|
Setting the zOrder of a control has no effect.
The zOrder cannot be set for windowed controls.
This behavior is by design.
The following HTML attempts to set the zOrder on an <SELECT> control:
<HTML>
<BODY>
<SELECT MULTIPLE
ID=test STYLE="position:absolute; top:15; left:10; z-index:-20">
<option>one</option>
<option>two</option>
<option>three</option>
</SELECT>
<P style="font:15pt arial">this is some text</p>
</BODY>
</HTML>
It would appear that the text "this is some text" should appear over the
<SELECT> control. In fact, since the <SELECT> control is a windowed control
this is not possible.
For more information, please see the MSDN Web Workshop:
http://msdn.microsoft.com/workshop/default.asp
Additional query words:
Keywords : kbIE500 InetSDKControlUsag AXSDKIEScripting AXSDKScripting
Version : WINDOWS:4.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 30, 1999