Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Problem with CSS Menu in IE7 only

Featured Replies

Hi, I've got a CSS Menu which has given me weeks of trouble working in Internet Explorer. No sooner have i managed to get it working in IE6 and below, it is now playing up in IE7. The CSS Menu is an expanding menu and in IE7, hovering over one menu item seems to expand all of them at once. A link is attached.

 

http://staged.creativemarketingservices/test/index.html

 

can anybody help me to get this to work properly in IE7 too? Perhaps a conditional statement?

 

Thanks

 

PS. Yes i know my code isnt exactly tidy, but i need this working as quick as possible!

your link doesn't work - so can't see what you've done...

Yea, can't open the link.

 

What I usually do when I design websites is make them work in Firefox, Opera, Safari at first. Then I use conditional comments and include fixes for the various IE versions.

I think you've got the link right there...the menu works fine in Firefox, although it's a bit odd as the menu's expand upward which is not the norm, but maybe that's what you're after. I don't have IE6 but in IE7 all the menu's appear at the same time as you've mentioned.

 

I notice you've got this in your code:

<!-- InstanceEndEditable -->
<!--[if lte IE 6]>
<style type="text/css">
div.menu:hover div.popup li a {display:inline-block;}
div.menu:hover div.popup li a {display:block;}
div.menu:hover div.popup {margin-left:-3px; bottom:11px;}
div.mainmenu {font-size:10px; top: 5px;}
</style>
<![endif]-->

<!--[if IE 6]>
<style type="text/css">
div.mainmenu {font-size:10px; top: -2px;}
</style>
<![endif]-->

 

Surely you can add some code to give instrcutions specific to IE7 in the same way.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.