Disabled fields not grayed out in Firefox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Claus Mygind
    Contributor
    • Mar 2008
    • 571

    #1

    Disabled fields not grayed out in Firefox

    We are using FireFox v26 at our shop.

    On some of the computers, the read only fields are not displayed as grayed out. And yet on others it works just fine running the exact same code.

    Code:
    <input type ="text" name="Address" value = '100 Main St.' readonly />
    Is there a setting in FireFox that can fix this problem?
  • Luk3r
    Contributor
    • Jan 2014
    • 300

    #2
    This may not be the correct answer, but maybe try changing the syntax a little bit? Replace the apostrophe's in front of and behind 100 Main St. with quotes, and remove the forward slash at the end. So it would look like this:

    Code:
    <input type ="text" name="Address" value = "100 Main St." readonly>
    There also may be a difference between HTML and XHTML. So this may also suit your needs:

    Code:
    <input readonly ="text" name="Address" value = "100 Main St.">

    Comment

    • Claus Mygind
      Contributor
      • Mar 2008
      • 571

      #3
      Thanks for your response. I tried both suggestions and saw no change in the screen display.

      Where it worked before, it still worked
      Where it did not work before, it still did not work.

      I just wonder if there is a setting the registry file which you can customize for each user? I don't remember how to get it either.

      Comment

      • Luk3r
        Contributor
        • Jan 2014
        • 300

        #4
        So, does everyone use the same Firefox v26? or are the Firefox v26 users the one that it won't grey out?

        Comment

        • Claus Mygind
          Contributor
          • Mar 2008
          • 571

          #5
          Originally posted by Luk3r
          So, does everyone use the same Firefox v26? or are the Firefox v26 users the one that it won't grey out?
          Everyone is on the same version.

          Just ran the reset option under help|troublesho oting. It had no impact either. Still looking

          Comment

          • Claus Mygind
            Contributor
            • Mar 2008
            • 571

            #6
            Also worth noting, we are NOT running any custom profiles. It's firefox straight out of the box.

            Comment

            • Claus Mygind
              Contributor
              • Mar 2008
              • 571

              #7
              Well luckily I have a read only class defined in my css file. I just added the background-color parameter and I now have a unified look. But still it would have been nice to solve the mystery.

              Comment

              Working...