Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Css Pop Out Menu Problem In Ie 7...


  • Please log in to reply
2 replies to this topic

#1 sevegunter

sevegunter

    HR 3

  • Active Members
  • PipPipPip
  • 85 posts

Posted 24 March 2007 - 07:50 PM

I just realized this, but in IE 7 my CSS Expanding Menu is not expanding for some reason. In basically every other browser I've tried, it works fine. Could someone show me how to correct this problem? I'm using an include file to implement my navigation, so basically every page on my site has this include. Here's the page:


www.safetyvideodirect.com/includes/header2.asp

BTW, I got this menu from SEOconsultants (http://www.seoconsul...menus/vertical/). It requires an .htc file which I have uploaded and everything. Thank you so much!

#2 jehochman

jehochman

    Jonathan Hochman

  • Active Members
  • PipPipPipPipPipPipPip
  • 1,555 posts
  • Location:Connecticut - Land of Steady Habits

Posted 24 March 2007 - 10:03 PM

You have to install the patch code in the head of each page. It looks like this (assuming you put csshover.htc in /css):

CODE
<!--[if IE]>
<style type="text/css" media="screen">
body {
behavior: url(/css/csshover.htc);
}
#menu ul li {float: left; width: 100%;}
#menu ul li a {height: 1%;}
#menu a, #menu h2 {

}
</style>
<![endif]-->


Then you have to look for this line of code in csshover.htc:

CODE
    if(!/MSIE (5|6)/.test(navigator.userAgent)) return;


and change it to:

CODE
    if(!/MSIE (5|6|7)/.test(navigator.userAgent)) return;


#3 sevegunter

sevegunter

    HR 3

  • Active Members
  • PipPipPip
  • 85 posts

Posted 25 March 2007 - 01:53 PM

Thank you so much!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users