Troubleshoot control occlusion issues: about windowed elements and windowless elements _php tutorial

Source: Internet
Author: User
Do not know whether friends have encountered the control of the occlusion problem, the most typical is DropDownList and ActiveX occlusion, HTML Z-index is used to deal with this problem, but the direct setting of this property is not possible, because this is also involved in the window elements and windowless elements.


There are a few of the following window elements:
, ActiveX controls, Plug-ins, DHTML Scriptlets, SELECT elements (that is, HTML representation of DropDownList), IE5.01 previous IFRAMEs


Windowless elements include:
Windowless ActiveX controls, IE5.5 later iframes, most DHTML elements


It is worth mentioning that ActiveX controls, by default, VB and MFC controls are windowed, the ATL control is windowless, but the ActiveX control is implemented as windowless and is actually categorized into windowless elements.


Regardless of how the container is set, all Windows elements appear on the windowless element, and the window elements and windowless elements themselves follow the Z-index property, which is plotted on different planes to be displayed, and the settings Z-index only work on the plane where they are located. And the plane with the window element is always above the windowless element plane.


So the idea of solving the occlusion problem is simple, wrap our elements into a div, the code example is as follows:





The z-index of the DIV is 8, then the Z-index of select is adjusted to 7 (only smaller than the z-index of the Div).

http://www.bkjia.com/PHPjc/317755.html www.bkjia.com true http://www.bkjia.com/PHPjc/317755.html techarticle do not know whether friends have encountered the control of the occlusion problem, the most typical is DropDownList and ActiveX occlusion, HTML Z-index is used to deal with this problem, but directly set this ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.