Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8989855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:21:50+00:00 2026-06-15T22:21:50+00:00

So I have been trying to make some css drop down menus work in

  • 0

So I have been trying to make some css drop down menus work in IE 7 & 8

They work great on other browsers.

site is: http://hanling.focusww.com

I’ve got a block of css and I contains some lines that I want to hide from the IE 7 & 8

I’ve marked the lines with ‘*’ at the end.

#menu a:visited {
  color:#f9f6e0;
  display:block;
  font-weight:700;
  padding-bottom:10px; //kill this in ie *
  padding-left:12px;
  padding-right:12px;
  padding-top:10px;  //kill this in ie *
}

Can someone point me to an article that explains how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:21:52+00:00Added an answer on June 15, 2026 at 10:21 pm

    You can do that the simple way with IE conditional comments:

    HTML

    <!--[if IE 7]> <html class="ie7"> <![endif]-->
    <!--[if IE 8]> <html class="ie8"> <![endif]-->
    

    CSS

    #menu a:visited {
      color:#f9f6e0;
      display:block;
      font-weight:700;
      padding-bottom:10px; //kill this in ie *
      padding-left:12px;
      padding-right:12px;
      padding-top:10px;  //kill this in ie *
    }
    
    .ie7 #menu a:visited,
    .ie8 #menu a:visited, {
      padding-bottom: 0; //kill this in ie *
      padding-top: 0;  //kill this in ie *
    }
    

    ..or also possible with CSS-Hacks, more: http://www.webdevout.net/css-hacks#in_css

    #menu a:visited {
     color:#f9f6e0;
     display:block;
     font-weight:700;
     padding-bottom:10px; 
     padding-bottom:0\9; //kill this in ie *
     padding-left:12px;
     padding-right:12px;
     padding-top:10px;  
     padding-top:0\9; //kill this in ie *
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to make custom radio buttons using HTML, CSS, and JavaScript.
I have been trying to make it work with either fwrite or fputcsv but
I am new to Java and have been trying to make some simple games
for some days now I have been trying to make a simple mod_rewrite rule
I have been trying to make the following Facebook graph api call... https://graph.facebook.com/me&access_token=mytokenhere I
I have been trying to make sense of some claims that Appcelerator Titanium makes.
I am trying to make some text scroll vertically using jQuery, I have been
I have been trying to make a case for using Python at my work.
Have have been trying to make a validator for my xml files. I have
I have been trying to make a div fade in evey 30sec and out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.