IE、FireFox対応の半透明div
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
- <HTML xmlns="http://www.w3.org/1999/xhtml">
- <meta http-equiv="Content-Type" content="text/html; charset=gbk">
- <title> </title>
- <head>
- <style>
-
- #popupmenu_popup {
- color: #154BA0;
- border: 1px solid #86B9D6;
- background: #D9EEF9;
- filter: Alpha(Opacity=50, Style=0); /*ie firefox */
- opacity: 0.50;
- position: absolute;
- z-index: 30;
- left:300px;
- top: 64px;
- height: 69px;
- width:134px;
- }
-
- #popupmenu_text {
- color: #154BA0;
- position: absolute;
- z-index: 40;
- left:301px;
- top: 65px;
- height: 69px;
- width:134px;
- text-align:center;
- }
- </style>
- </head>
- <body >
-
- <div id="popupmenu_popup"></div>
- <div id="popupmenu_text">DIV </div>
-
- </body>
- </html>