Home >Web Front-end >HTML Tutorial >The optimal solution for div covering select under IE6_html/css_WEB-ITnose
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