In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to solve the problem that the DIV layer is covered by Flash or forms. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
In the web page production, if you encounter the div layer is covered by Flash or form problem do you know how to solve the problem, here to share with you a few solutions, because only using the z-index attribute is useless, please see the following details.
The solution of DIV layer being covered by Flash or form
In the process of making web pages, we often encounter the phenomenon that a part of the div layer is covered by Flash, input, select and other controls. Using the z-index attribute alone is of no use at all. Here are several solutions--
Method 1:
For Flash controls, you can add properties or.
Opaque and transparent are basically similar, except that they are a little different in some special cases.
When opaque needs to use the input method in flash, the input method software will be inaccurate.
There will be performance problems if transparent is used too much on the same page.
Reference article:
Flashcontentandz-index
Z-IndexandFlash
Method 2:
For form controls such as input or select, you can solve this by putting the contents of DIV into iframe or object.
Method 3:
Method two, if it is not used well, it may destroy the structure of the page, and the interaction is not good.
There is another way, although DIV cannot cover select directly, DIV can cover iframe, and iframe can cover select, so use an iframe as the bottom of DIV
This DIV can cover select.
The above is how to solve the problem that the DIV layer is covered by Flash or forms. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.