473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

div-layer over an other

Hello Folks,

let's discuss about the following sourcecode.

I want to deactivate some phrases in my Webformular with an half
transparity layer above of them. This runs already very good. Now I've
testet in IE with an select-combo box and _only_ this one will always
showed on top, so you can select this. I#m using IE 6.0 and Mozilla 1.0.6.

Can anybody tell me what's wrong or how should I build a workaround.

Thanks
Bas
################################

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<title></title>
<style type="text/css">
<!--
div#content
{
width: 500px;
/* for non-IE Browsers */
min-height: 500px;
border: 1px solid #b0cbe4;
}

* html div#content /* for IE */
{
height: 500px;
}

div#deactivate
{
margin-left: 40px;
border: 1px solid red;
position: absolute;
top: 0px;
left: 0px;
z-index: 10;
width: 500px;
height: 500px;

background-color: white;
opacity: 0.8;
filter: alpha(opacity=80);
}
-->
</style>
</head>

<body>
<div id="content">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Quisque velit. <br />
<select name="sortes" style="z-index: 1;">
<option value="13">Bourbon</option>
<option value="6">Whiskey</option>
</select>
</div>
<div id="deactivate">
&nbsp;
</div>
</body>
</html>
Sep 9 '05 #1
1 6388
Sebastian Moderlak schreef:
Hello Folks,

let's discuss about the following sourcecode.

I want to deactivate some phrases in my Webformular with an half
transparity layer above of them. This runs already very good. Now I've
testet in IE with an select-combo box and _only_ this one will always
showed on top, so you can select this. I#m using IE 6.0 and Mozilla 1.0.6.

Can anybody tell me what's wrong or how should I build a workaround.


This is a IE-specific thing, select-combo-boxes always apear on top of layers.
A workaround is to let the select-combo-box go invisible when your layer goes visible. got it?

dhtml-dropdownmenu's like Milonic have workarounds like this.

--
Niek
Sep 9 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: listaction | last post by:
Hello All, I'm trying to avoid use of tables for layout purposes. So I have the layout positioned using css and <div>. When the browser window is resized by clicking & dragging the mouse, the text...
6
by: Stan Sainte-Rose | last post by:
Hi, How to remove the div tag that VS adds. This div seems to wrap the viewstate variable : <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"...
16
by: brian.ackermann | last post by:
Hi all, I'm working on a quick-n-dirty forum to plug into a 'strategic task planning' module I am putting together. The basics are all in place. I've gotten to a point where I can now view the...
6
by: Gordowey | last post by:
Where can I find this DIV effect. go to: http://www.amazon.com Put mouse over the text "See All 32 Product Categories" (Top-Middle)..it will open a window with a cool effect... does anyone...
0
by: JamesBong | last post by:
So I am building something with divs that will be filled with dynamic data... so I dont know how tall the divs will be, but I want to make sure that div has a margin so the next div is 25px below the...
1
by: JamesBong | last post by:
I am building something with divs that will be filled with dynamic data... so I dont know how tall the divs will be, but I want to make sure that div has a margin so the next div is 25px below the...
1
by: MissMarie | last post by:
I've been playing around with DIV tables in myspace to better learn how to rewrite my own code for my business site without having to pay someone to design it. I've tried embedding a slideshow into...
2
by: tonsi | last post by:
I have a page but it wont center the div. Can anyone take a look at it and help. When I try to center in the body using text-align: center; it doesn't work with the main container (called Table_01)....
14
by: issentia | last post by:
I'm working on this site: http://www.essenceofsoy.com/redesign/index2.html and I'm having a few problems with getting the layout exactly right. 1) When the menu items are rolled over, they...
9
by: DevInCode | last post by:
Hi I'm trying to get a css layout working. One so I can use it, and two just to refine my css skills. The idea is that each part of the page (left pane, right pane, middle pane etc) have a...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.