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 8866167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:43:11+00:00 2026-06-14T16:43:11+00:00

I have a css drop down menu (below), however, my problem is this, once

  • 0

I have a css drop down menu (below), however, my problem is this, once a drop menu option (link) is clicked, nasty ie. 7 leaves an unwated rectangular fine dotted line focus that appears long after a menu option is clicked. How can I remove the focus of the link after it has been clicked?

    <div id="menu" style="width: 1001px; height: 20px">
    <ul>
    <li><a href="#nogo"><div id="file">File</div></a>
    <ul>
    <li><a href="#nogo" onclick="window.print()"><div id="print">Print</div></a></li>
    <li><a href="#nogo" onclick="sims_update()"><div id="save">Save</div></a></li>
    <li><a href="#nogo" onclick="sims_update('s');window.close()"><div id="saveandexit">Save & Exit</div></a></li>
    <li><a href="#nogo" onclick="window.close()"><div id="exit">Exit</div></a></li>
    </ul>
    </li>
    <li><a href="#nogo"><div id="edit">Edit</div></a>
    <ul>
    <li><a href="#nogo" onclick="sims_addnew();return false"><div id="addnew">Add new</div></a></li>
    <li><a href="#nogo"><div id="delete">Delete</div></a></li>
    <li><a href="#nogo" onclick="sims_reset()"><div id="clear">Clear Form</div></a></li>
    </ul>
    </li>
    <li><a href="#nogo"><div id="view">View</div></a>
    <ul>
    <li><a href="#nogo"><div id="goto_first">&gt;&gt; Go to First</div></a></li>
    <li><a href="#nogo"><div id="goto_next">&gt;Go to Next</div></a></li>
    <li><a href="#nogo"><div id="goto_prev">Go to Previous&gt;</div></a></li>
    <li><a href="#nogo"><div id="goto_last">Go to Last&gt;&gt;</div></a></li>
    </ul>
    </li>

    <li><a href="#nogo"><div id="reports">Reports</div></a>
    <ul>
    <li><a href="#nogo"><div id="export_excel">Export to Excel Table</div></a></li>
    <li><a href="#nogo"><div id="export_html">Export to HTML Table</div></a></li>
    <li><a href="#nogo" onclick="sims_compile_htmllist()"><div id="export_list">Export to HTML List</div></a></li>
    </ul>
    </li>

    <li><a href="#nogo"><div id="logoff">Logoff</div></a></li>

    </ul>
    <ul>
    </div>

</div>

The CSS:

/*HORIZONTAL DROP-DOWN MENU */
#menuwrapper{
    position: fixed;
    top: 30px;
    left: 0px;

    background-color: #A9BBD3;
    height: 19px;
    color: #FFFFFF;
    font-size: 8pt;
    padding-top: 1px;
    padding-left: 3px;
    border-top: 1px solid #FFF;
    width: 100%;

}


#menu{
    padding:0;
    margin:0;
    position: fixed;
    top: 31px;
    left: 0px;
    font-size: 8pt;
    width: 1001px;
}
#menu ul{
    padding:0;
    margin:0;
}
#menu li{
    position: relative;
    list-style: none;
    margin: 0;
    padding:0;
    float: left;
    display:inline;

} 

#menu li a{
    width:125px;
    height: 20px;
    display: block;
    text-decoration:none;
    line-height: 20px;
    background-color: #A9BBD3;
    color: #FFF;
} 

#menu li a:hover{
    background-color: #446087;
} 
#menu ul ul {
    position: absolute;
    top: 21px;
    visibility: hidden;
}

#menu ul ul li a {
    width: 120px;
    padding-left: 5px;
    filter:alpha(opacity=85);
}
#menu ul li:hover ul{
    visibility:visible;
}
#menu > ul > li > a {
    text-align:center;
}
#menu > ul > li > a:hover {
    border-bottom: 1px solid #FFF;
}
  • 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-14T16:43:13+00:00Added an answer on June 14, 2026 at 4:43 pm

    You need to use the outline:none in the css like,

    a:hover, a:active, a:focus {
        outline: none;
        border: 0;
    }
    

    Better, you need to add this bit of code in your reset.css if you have..

    Clicking down on an input type=image can produce a dotted outline (Does this in Firefox 3.6.8 but not Firefox 4). To remove it:

    input::-moz-focus-inner { border: 0; }
    

    Hope, it helps..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I do have a research regarding this drop down menu. And below are the
I have a css drop down menu working except for one thing: the last
I have problem in displaying drop-down menu. Please, see the example on: http://staging.gwynconsulting.com/rif/hello-world-2/ When
I have a drop down menu done in css only, done in the following
Ok i have this drop down menu script. It works fine when all the
im using a joomla 1.6.4 install and have a custom css/javascript drop-down menu in
I'm creating a CSS drop down menu which is going well so far, however
I have a link that functions similar to a drop down menu in that
I have a page with a standard drop-down menu and a slider just below
i have a simple dropdown menu like this below: <select name=category[] id=category class=icon-menu> <option

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.