I am slowly getting to grips with CSS and have created my first dropdown menu.
It works great in FF, but the submenu will not show in IE. I understand there is a problem with IE using hover in CSS and I thought I had got round it with a bit of java, but no such luck.
CSS and java code posted below, I would be gratefull if someone can take a look at where I am going wrong.
Those first two examples do require javascript, or more precisely jscript. A custom behavior (htc file) is being attached to the body element which allows IE to mimic the :hover effect.
View source, dig around and you'll note that in the css of both examples the body element assigns a behavior something like:
behavior: url("csshover.htc");
The point is, if you disable scripting in IE, the behavior will not work. With scripting disabled in FF it will continue to work because FF natively supports :hover. So if you plan to support IE users who have scripting disabled, those methods are not going to do the job for you.