CSS menu problems - Page 1

User 1981786 Photo


Registered User
8 posts

I have two people contact me about not being able to drill down to the sub items in my menu. Both are using older versions of IE. Is there something I can do to resolve this problem?

I know this question has probably answered a dozen times, but I have search and did not find it. I appologized for asking it again.

Thanks for your response.

LInk to my site..

http://www.overtrimwoodworks.com/
User 463058 Photo


Ambassador
1,073 posts

There's an .htc file (basically javascript) that will fix this. IE 6 doesn't understand the use of hover styling on anything but anchor tags, so "a:hover" works fine, but "li:hover" is ignored. Javascript can fix this.

You can find the necessary .htc file here:

Whatever:hover
http://www.xs4all.nl/~peterned/csshover.html

You want the latest version 3. Also take a look at the notes which mention correctly serving .htc files so they will work with IE6 on XP SP2.

Note that lines 11 to 28 in the head of your html should be moved down into the body of the html.

PS: The CSS Menu generator does save several javascript files, some combination of which may provide the same functionality, but the necessary script links aren't added to the head of the page by the editor, and the ones I created myself didn't make a difference in IE6.
User 1981786 Photo


Registered User
8 posts

Thank you.

I will give that a try tomorrow.
User 1981786 Photo


Registered User
8 posts

I did not get something right. I am still having the same problem with the menu and IE6,

http://www.overtrimwoodworks.com/

TIA,
roger
User 463058 Photo


Ambassador
1,073 posts

You have this:

<body {behavior:url("htc/csshover3.htc");}>


That should just be a regular body tag:
<body>


The behavior code is CSS, so you can embed it in your page by placing the following somewhere in the head section of the html:

<style type="text/css">
body {behavior:url("htc/csshover3.htc");}
</style>

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.