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

  • Home
  • SEARCH
  • 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 7707197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:17:57+00:00 2026-06-01T00:17:57+00:00

I am having an issue with the Color attribute for which I’m trying to

  • 0

I am having an issue with the Color attribute for which I’m trying to apply to the Menu li anchor tag.

The li a:visited {color:red;} and li a.selected {color:green;} are applied correctly however the li a{color:blue;} is not being applied.

http://www.virtualpetstore.com

This class defines the blue which is not being applied:

.solidblockmenu li a {
    float: left;
    color: blue;
    font-family:Arial Black;
    font-size:12px;
    padding: 8px 20px 8px  20px;
    text-decoration: none;
    border-right: 1px solid white;
}

Here is the Menu markup:

<div id="menu2">
    <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
        <AnonymousTemplate>
            <ul id="solidmenu" class="solidblockmenu">
                <li><a href="~/default.aspx" runat="server">Incinio</a></li>
                <li><a href="~/empresa.aspx" runat="server">Empresa</a></li>
                <li><a href="~/webgrupodotnet.aspx" runat="server">Deserollo</a></li>
                <li><a href="~/webgrupodiseno.aspx" runat="server">Diseno</a></li>
                <li><a href="~/webgrupomovil.aspx" runat="server">Moviles</a></li>
                <li><a href="~/asociados.aspx" runat="server">Asociados</a></li>
                <li><a href="~/contacto.aspx" runat="server">Contacto</a></li>
                <li><a href="~/Account/Registrar.aspx" id="Registrar" runat="server">Registrar</a></li>
                <li><a href="~/Account/Login.aspx" id="HeadLogin" runat="server">Log-In</a></li>
            </ul>
        </AnonymousTemplate>
        <LoggedInTemplate>
            <ul id="solidmenu" class="solidblockmenu">
                <li><a href="~/default.aspx" runat="server">Incinio</a></li>
                <li><a href="~/empresa.aspx" runat="server">Empresa</a></li>
                <li><a href="~/webgrupodotnet.aspx" runat="server">Deserollo</a></li>
                <li><a href="~/webgrupodiseno.aspx" runat="server">Diseno</a></li>
                <li><a href="~/webgrupomovil.aspx" runat="server">Moviles</a></li>
                <li><a href="~/asociados.aspx" runat="server">Asociados</a></li>
                <li><a href="~/contacto.aspx" runat="server">Contacto</a></li>
                <li><span style="width: 25px;">
                    <asp:LoginStatus ID="headloginstatus" runat="server"  LogoutAction="redirect" LogoutText="log out" LogoutPageUrl="~/" />
                    </span>
                </li>
                <li><span>
                    <a href="/Account/ModificarCuenta.aspx" class="modifyuser">
                        <asp:LoginName ID="headloginname" runat="server" />
                    </a>
                </span>
                </li>
            </ul>
        </LoggedInTemplate>
    </asp:LoginView>
</div>

Here is the remaining ddmenu.css:

.solidblockmenu {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    float: left;
    font: bold 13px Arial;
    overflow: hidden;
    margin-bottom: 1em;
    border: 1px solid #625e00;
    border-width: 1px 0;
    background: black url("http://i.imgur.com/iTqzs.gif") center center repeat-x;
}
.solidblockmenu li {
    display: inline;
}
.solidblockmenu li a {
    float: left;
    color: blue;
    font-family:Arial Black;
    font-size:12px;
    padding: 8px 20px 8px  20px;
    text-decoration: none;
    border-right: 1px solid white;
}
.solidblockmenu li a:visited {
    color: Red;
}

.solidblockmenu li a:hover, .solidblockmenu li a.selected { 
    color: Green;
    background: transparent url("http://i.imgur.com/mjYcj.gif") center center repeat-x;
position: relative;
}
  • 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-01T00:17:58+00:00Added an answer on June 1, 2026 at 12:17 am

    Just try this below css in your ddmenu css

    .solidblockmenu li a:link {
        float: left;
        color: blue;
        font-family:Arial Black;
        font-size:12px;
        padding: 8px 20px 8px  20px;
        text-decoration: none;
        border-right: 1px solid white;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Having an issue with random individuals trying to access an intranet site with a
The issue I'm having is issue with is I'm trying to get the paintComponent
I'm having an issue where my CSS for td tag seems to be given
FullCalendar is working great apart from 1 issue I'm having. The monthview div which
I am having issue in checking which input has been clicked using unobstructive javascript.
I'm having an issue with my GUI when I try to change the color
I am having an issue where the background color is behaving unexpectedly when the
I'm having issues with color matching css background colors with colors in images on
Having an issue here that I have tried everything I can think of but
I'm having an issue with a query that currently uses LEFT JOIN weblog_data AS

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.