Sent by Michael Landis on 7 February 2005 20:08
Ludwik wrote:
> I have a problem with a pure-css menu that is not working over a div with
> overflow set to scroll (or auto, with scrolling turned on automatically).
> The menu is working, but it's loosign the hover when the mouse is moving
> over the div with scrollbars. If this describtion is not satisfactory,
> please let me know and I'll try to prepare a test-code.
>
> The menu is IE-enabled by Dean Edward's IE7 javascript and it works
> correctly in IE.
I've seen this problem before, but I'm afraid I can't provide much insight.
I am guessing that the Gecko engine treats elements with overflow:
scroll/auto as iframes instead of components of the same document, and the
object model starts breaking down. To be certain, you may want to consider
using script to cause the drop-down behavior. If HTML is for providing
content, CSS is for providing presentation, and DOM/scripting is for
providing behavior, it might be acceptable to use script for this.
> Also, could you point me to a link how to cope with selects overlaying
> everything in IE, as I believe that this problem has been discussed over
> already.
In a post written by Christian Heilmann today (titled Re: [css-d]
Suckerfish/Form select box dilemma) he says:
> There is a dirty hack with an iframe and stuff. Or you could use my
script
> to replace the SELECTS with DHTML dropdowns:
>
> http://www.icant.co.uk/forreview/tamingselect/
I'm uncertain about what the iframe hack is, but perhaps this will help.
HTH,
Michael
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/