in Education by
I am trying to simulate the look and feel of a Firefox disabled text input: textarea and input text. The only browser compatibility I have to worry about is Internet Explorer 8. I do NOT have to worry about anything earlier (Intranet) Internet Explorer does not allow one to change the text color of a disabled test input. It does allow background color to be changed but gray text on a gray background color was beyond illegible. I have an input box and text area declared as follows:

1 Answer

0 votes
by
try adding a cursor property to your css input[readonly], textarea[readonly] { color:black !important; cursor: default; background-color: threedface !important; } http://www.w3schools.com/cssref/playit.asp?filename=playcss_cursor&preval=default --- 12/01/27 Revisiting this solution, I found the following to work for me, hopefully its helpful to you as well:

Related questions

0 votes
    I am trying to simulate the look and feel of a Firefox disabled text input: textarea and input text. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 25, 2022 in Education by JackTerrance
0 votes
    I am in a project where I need to connect to a client's server and retrieve data for some graphs ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
    Which of the following tags are no longer valid in HTML5?...
asked Apr 10, 2021 in Education by JackTerrance
0 votes
    Why text inside / list is not affected (color of "item1", "item2" is not changed) by CSS applied ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
0 votes
    Why text inside / list is not affected (color of "item1", "item2" is not changed) by CSS applied ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    Why text inside / list is not affected (color of "item1", "item2" is not changed) by CSS applied ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I would like to add some text to my HTML that is not accessible or indexed by search bots. Is it ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    I have created floating label in input field.In chrome view is working fine, but not properly viewed in ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    Which of the following input control represents a date (year, month, day) encoded according to ISO 8601 in Web Form 2.0?...
asked Apr 10, 2021 in Education by JackTerrance
0 votes
    I have several unicodes which show in mobile but not desktop. I'm assuming I can't force an @media ... : $ad_title $featureimg Contact Information . 📧 . 📞 📍....
asked Apr 21, 2022 in Education by JackTerrance
0 votes
    Looking for guidance on how to use Angular Elements that will work across other browsers especially with Internet ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 6, 2022 in Education by JackTerrance
0 votes
    I'm having this little problem with internet explorer and ajax. So first I used just php, and everything ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    5. Which of the following is not web browser ? * (a) Google Chrome O (b) Mozilla Firefox O (c) Internet Explorer O (d) Notepad Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    internet explorer has been replaced by _________web browser in window 10 Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Where is the error icon shown in the Internet Explorer? (a) Taskbar (b) Status bar (c) Both ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 21, 2021 in Education by JackTerrance
...