[Solved] Why is the pseudo-class “:read-only” not working for a “disabled” element?
[ad_1] If you test in Firefox, you will see your code working fine so I assume it’s a bug or a lack of support for Google Chrome .pseudo-test input:read-write { color: blue; } .pseudo-test input:read-only { color: red; } <div style=”margin-top:10px” class=”pseudo-test”> <form action=”another-action.php”> <input type=”search” value=”What do you want to search for?” size=”100″ disabled> … Read more