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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:58:26+00:00 2026-05-13T18:58:26+00:00

Is it possible to override the styling that is applied to a hyperlink if

  • 0

Is it possible to override the styling that is applied to a hyperlink if it has the disabled="disabled" attribute?

It’s currently greyed out. Not bothered about making it an active link, just want to change the font, color, etc.

UPDATE : Must work in IE6, IE7 & FF

UPDATE :
It’s worse than I though the html is <A id="someId" disabled>About Your Group</A>

UPDATE :
I’m going to really have to see what is adding this ‘disabled’ to the links.. I think it’s a jquery plugin.. (ui.tabs, jquery ui.tabs)

  • 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-13T18:58:26+00:00Added an answer on May 13, 2026 at 6:58 pm

    The disabled property can’t be used on a elements. it only applies to input, select and button elements.

    Sure; Internet Explorer puts a bevel-effect on links with this property set. FireFox, on the other hand, ignores this property completely.

    Note: Links will still function. Their default behavior is NOT prevented–they just look disabled. They do not behave like a disabled text input.

    You are better off using a class to signal if a link is disabled. This will work cross-browser as well…:

    The CSS

    .disabled { color: #ccc; }
    

    The HTML

    <a href="..." class="disabled">...</a>
    

    And to complete the disabled effect; using jQuery, you can select all links with the class “disabled” and prevent their default behavior, like so:

    $(function ()
    {
        $("a.disabled").click(function ()
        {
            // return false to disable the link (preventDefault = true)
            return false;
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to override the standard layouts that are provided with Android? Is
Would it be possible to override the 'require' command so that it will try
Is it possible to override a function based on the number of parameters that
Possible Duplicate: Override the compiler attribute in an Ant javac task In Ant, how
is it possible to override the last System.out.println output, so i can for example
I was wondering whether it's possible to override the arrow key functionality that is
I remember having read somewhere that it's possible to override the .init property of
In Java , is it possible to override methods in a class that you
Possible Duplicate: Override default php function Is there a way to detect that a
Is it possible to override the Image constructor in JS? So that, for example,

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.