trusz wrote:
Scott Glasgow wrote:

<<::snip::>>
Sorry about the lack of context; I usually try to remember to trim
messages when they get pretty long in a thread, which is good for
low-bandwidth folks but means context is lost in later messages.

I'm trying to duplicate the menu effects at Eric Meyer's Pure CSS
Popups (http://meyerweb.com/eric/css/edge/popups/demo.html ; mouse
over the links in the menu on the left), which work just fine on my
machine in IE 6 and Firefox. However, the two pages I have created on
the target site do not demonstrate this effect. Firefox does work as
expected, but IE does not. To view the effects (in Firefox; nothing
will change in IE), go to http://www.earhartrefrig.com/ and click on
the "Sales" menu item (which currently links to a Services test
page). Mouse over any of the image labels on the left of the page
and the Services List appears, with a red background. Do the same in
IE and nothing happens other than the expected change in the status
bar.
<<::snip::>>

Scott, you missed the initial declaration of the a:hover state. Look
at Meyer's code again. He's got a declaration called div#testDiv a:hover
as well as one called div#testDiv a:hover  span. You don't. Add that
to your test page and the problem is solved.

No idea what the bug is in IE that necessitates this but it seems you
have to declare the hover state before you change it.

drew
<<::snip::>>

Wow! Drew, thanks for spotting that! I would have looked at that CSS until there's peace in the Middle East and never spotted that, or rather, realized that that was what was causing the problem. I tried it out and, sure enough, problem solved. I suppose IE handles CSS selectors differently (grrrrr), requiring compound selectors to be "built up" as in this case. Something to add to my "IE CSS quirks" list, which is growing regrettably long.

Thanks again! Now I can move forward with the site design without having to resort to scripting. I still need to go back and implement my menu bar with CSS instead of event-driven rollovers, but that's a piece of cake compared to this.

Cheers,
Scott

"The more extensive a man's knowledge of what has been done, the greater will be his power of knowing what to do." - Benjamin Disraeli (1804 - 1881)

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to