layers in ie4
On my page, I have a dhtml menu that uses layers set with backgroud colors to create a drop down menu. The submenus are supposed to cover up everything that happens to be below them, and they do, with one exception. The <SELECT> tag always appears on top of the layer, so I can't see the menu options there.
I've tried setting the z-index of the <SELECT> to 0 and -1, to no avail.
I knew this was a bug in Netscape, but I'm coding for an exclusively IE4 environment, and it is not working.
Any thoughts? Thanks.
Anonymous posted this at 03:34 — 23rd November 1999.
They have: 5,633 posts
Joined: Jan 1970
I have never heard of this happening before but that is the sort of thing you would expect Netscape to have trouble with. (Netscape seems to have trouble with anything remotely complicated from my experiences).
Give us a URL and we can take a look at it.
------------------
http://go.to/hass
Malte posted this at 05:13 — 23rd November 1999.
They have: 297 posts
Joined: Apr 1999
I think lloydhass misunderstood you. You say it doesnt work in IE. So what kinda layers do you use.
<layer> or <ilayer> only works in Netscpae. (Justin would say IE sucks now because it doesnt know how to do something non-standardized. At least he made this conclusion for Netscape)
You should use either <div> or <span> CSS layers. These work in both Netscape and IE without problems.
A select tag is a special item in a webpage because it is neither text nor grpahic but a widget supplied by the system. It looks different depending on the OS. Thus programming the layout engine for form elements is extremely difficult and likely to include bugs. The only broser I know of that doesnt have problems with form elements is Mozilla 7, and thats probably because it's younger than HTML 3.
Later.
Malte
------------------
Malte Ubl - www.Boardzilla.org
Communication: public<->programmers
of the Boardzilla BB
ssjones posted this at 05:21 — 23rd November 1999.
They have: 2 posts
Joined: Nov 1999
I think what you are telling me is that I'm out of luck. I'm using the hierarchical menus script from www.webreference.com/dhtml which accounts for ie vs Netscape issues and uses layer and span tags accordingly. But if a SELECT tag is that special widget, it may not be a problem with my layers specifically.
I can't show you the page I am specifically working on, but I made a mock up with the same issues at http://homepages.go.com/~ssjones_wbs/heirmenus.htm. There's nothing complicated there though, so the problem may just be my use of a SELECT item.
Thanks for all your help on this. I needed to confirm whether this could be done or not.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.