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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:58:24+00:00 2026-06-14T19:58:24+00:00

THis is a list table, and one list is disabled. As you guys know,

  • 0

THis is a list table, and one list is disabled. As you guys know, the font color is a gray when it’s disabled. I am using IE9, and I want to change the font color. Does anyone know how to change the disabled font color???

here is my code:

<table id="list" cellspacing="0" border="1" style="border-collapse: collapse;">
<tr disabled bgcolor =#EAEAEA  style="color:#ea0000;">
<td>name</td>
<td>email</td>
</tr>
<tr class="nameMail" onclick='op()'>
<td id="a">&nbsp</td>
<td id="b">&nbsp</td>
</tr>
</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-14T19:58:26+00:00Added an answer on June 14, 2026 at 7:58 pm

    Your code is invalid.

    You would do something like this:

     input[type="text"]:disabled
     {
        color:#ea0000;
     } 
    

    Also, ‘disabled’ selector is supposed to be used mostly with form elements and controls.

    If you want you can use a button within the tds like so:

      <table id="list" cellspacing="0" border="1" style="border-collapse: collapse;">
          <tr bgcolor="#EAEAEA"  style="color:#ea0000;">
            <td><button disabled>name</button></td>
           <td><button disabled>email</button></td>
          </tr>
          <tr class="nameMail" onclick='op()'>
            <td id="a">&nbsp</td>
            <td id="b">&nbsp</td>
         </tr>
       </table>
    

    You would also, need to update the css like so to get rid of the button border.

      button{
       border:0;
       color:#ea0000;
       }
    
      button:disabled
      {
       color:#000;
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data.table object like this one library(data.table) a <- structure(list(PERMNO = c(10006L,
I am using this function to list items from table helps depending on parameters:
Take this table WORDS WORD Hello Aardvark Potato Dog Cat And this list: ('Hello',
This is for an existing database with a View table. Trying to list a
I have a list of checkboxes in a table like this along with a
Let's look at this code: IList<IHouseAnnouncement> list = new List<IHouseAnnouncement>(); var table = adapter.GetData();
Hey i want to create a list like this. The pic below isnt my
I have a table that looks like this one : +------+------+------------------+ | item |
Let’s say I have table/list like this n=3 in this case, but n can
I have two tables, one table has a list of videos, one has a

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.