[thelist] A JavaScript query

john at johnallsopp.co.uk john at johnallsopp.co.uk
Wed Dec 24 09:36:25 CST 2003


Hi y'all

I can't quite work this one out. See
<http://www.johnallsopp.co.uk/test/test1/index.html>. In Mozilla the
second menu line (that appears when you rollover the top line) is green
like it should be. In IE (4 and 6), it's red. Red is the default 'a'
style. But afaics the element has the style menuText2 which should mean
it's green.

Is this a CSS misunderstanding regarding how everything cascades, or have
I got to do JavaScript differently for IE.

All tested under W98.

Any other code comments would be appreciated.

If anyone remembers I was asking about navigation and menus a few months
ago. This menu came about from that discussion, so if you remember
contributing, here's what came out of it, and thanks.

Merry Christmas
J






More information about the thelist mailing list