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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:06:39+00:00 2026-06-06T21:06:39+00:00

I have changed my asp.net menu style. But I can’t change the < a

  • 0

My Menu

I have changed my asp.net menu style. But I can’t change the < a href > style. Look in the image above, the size of the link does not get all the size of the < td > element.

Is there a way to do that?

Here is my CSS

.menuItem
{
    height: 50px;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    background-color: #F5F5F5;
    width: 220px;
}

.menuItem a
{
    width:220px;
    height:50px;
}

And my HTML

<table class="menuItem MnuMain_4" width="100%" cellspacing="0" cellpadding="0" border="0">
   <tbody>
     <tr>
       <td style="white-space:nowrap;width:100%;">
         <a class="MnuMain_1 menuItem MnuMain_3" style="border-style:none;font-            size:1em;" target="main" href="Pages/Cadastro/CadPrograma.aspx">
         <img style="border-style:none;vertical-align:middle;" alt="" src="Imagens/Menu/btn-programa.png">
&nbsp;&nbsp;IDs
         </a>
      </td>
    </tr>
   </tbody>
</table>
  • 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-06T21:06:40+00:00Added an answer on June 6, 2026 at 9:06 pm

    Try adding display:block to the anchor’s css.

    .menuItem a
    {
        display:block;
        width:220px;
        height:50px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following asp.net code but it gives error when I change dropdown selected
I'm working on asp.net (vb, maybe that can change something) I have a project
So I have this asp.net web application that I renamed. I changed the assembly
Anything I have tried didn't work. Currenly I have following code to change asp.net
I have an asp.net page with an asp.net menu. I defined the font in
using ASP.NET MVC 2 I have a navigation menu inside my Master Page. In
I would like to use a flash menu in Asp.net 2.0. However, I have
I have two seperate ASP.NET applications on the single solution. I change the startup
I have changed my ASP.NET MVC web.config settings to debug=false: <system.web> <compilation debug=false targetFramework=4.0>
within an asp.net page I have a predefined drop down menu <asp:DropDownList CssClass=queryterm dropdownSpacer

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.