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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:52:59+00:00 2026-05-30T13:52:59+00:00

Recently I have been learning ASP.NET . I have ran into a slight difficulty

  • 0

Recently I have been learning ASP.NET. I have ran into a slight difficulty which I cannot fix nor find a solution to after hours of trial and error/searching. Now you know I’m not wasting your time, here’s the information!

I have created a bog-standard Menu in ASP.NET. It simply has four normal links from a normal Web.Sitemap file. I have styled it by referring to its ID via an external style sheet. Everything has been styled normally, EXCEPT an ugly orange border, which appears when a link is clicked on. I believe it is therefore :active when it has the orange border. So how do I remove this orange border?

Here is the relevant code:

In the MasterPage

<div id="Menu">
            <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" 
                Orientation="Horizontal">
            </asp:Menu>
                <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" 
                ShowStartingNode="False" />
        </div>

From the external stylesheet:

#Menu
{
    height:20px;
    width: 780px;
    font-size: 20px;
}

#Menu ul li
{
    text-align: center;
    width: 195px;
    background-color: #FFFFFF;
    display: block;
}

I have tried several different solutions which I would love to list to save your time, but I have probably forgotten the majority of them. Anyway… I could be making some stupid mistake which you will find immediately!

If you need more information then I will share whatever code, this is just a project I’m putting together for a few friends.

Many thanks for your time,
JDWebs.

  • 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-05-30T13:53:00+00:00Added an answer on May 30, 2026 at 1:53 pm

    What if you try the following?

    #Menu ul li a, 
    #Menu ul li a:active {outline:none;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my
I have been recently learning some OOP PHP and seem to have run into
I have recently been thrown into learning ClearCase (I come from a background with
I have recently been learning Python and am dipping my hand into building a
Recently I have been learning about WMI and WQL. I found out the list
I come from classes object orientation languages and recently I have been learning those
I've been a web developer for some time now, and have recently started learning
I have recently been learning more about design patterns and thought I'd take a
I have recently been using junit in eclipse and I am still learning. I
I have been learning .MVC recently and am having trouble understanding how to process

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.