Click to See Complete Forum and Search --> : Moving a DIV over a SELECT
McBiks
03-18-2003, 06:05 AM
Hi,
I'm trying to make a sort of a window-box with a DIV. Something like the one on DHTML-Central (http://www.dhtmlcentral.com/script/search.asp?category=other). The problem is, that e.g. a SELECT or INPUT is with a higher 'priority' and is shown over the DIV.
Is there anybody who can help me with this?
Regards,
Claus
khalidali63
03-18-2003, 06:18 AM
Use the z-index property for the elements,an element with lower z-index value will be overlapped by the higher value.
Cheers
Khalid
McBiks
03-18-2003, 06:34 AM
Hi Khalid,
Well - the z-index works on INPUT but not on SELECT, but thnaks anyway:)
Regards,
Claus
khalidali63
03-18-2003, 06:43 AM
This makes me think...:confused:
What exactly are you trying to achieve,the link you referred to in the first post is just another moveable block that contains html in it...
Cheers
Khalid
McBiks
03-18-2003, 07:04 AM
Hi Khalid,
I'm trying to make a block of HTML wich i can move around on the page. The script on DHTML-Central do that just fine, but if i have a SELECT on the page where the HTML-block is shown, the SELECT is vissible all the time - also when i move the HTML-block over it:(
I've attached a JPG snapshot, where You can see that the INPUT is behind the HTML-block, but the SELECT is on top of the HTML-block.
What i'm trying is to 'move' the SELECT behind the HTML-block.
Regards,
Claus