Home > Web Front-end > HTML Tutorial > The optimal solution for div covering select under IE6_html/css_WEB-ITnose

The optimal solution for div covering select under IE6_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:05:44
Original
1165 people have browsed it

a. This section selects the best solution for covering the select with div under IE6 in the html5/css channel

Principle: Use iframe to block the select, and then use div to block the iframe. It's that simple.

1) First, build a div layer and iframe layer;

2) Then set their attributes. The important style is to use z-index to control the display order of iframe and div, z The larger the value of -index, the more it will be displayed on the surface.

(Note: z-index will only take effect after position:absolute; is set)

3) Use js to control their display and hiding.

c. This CSS adaptive width rounded button production method is compatible with browsers IE6, IE7, IE8, IE9, firefox, chrome, opera, safari

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template