The simple HTML below looks different in Firefox and WebKit browsers (I tested in Safari, Chrome and iPhone).
In Firefox, both borders and text are the same color ( #880000 ), but in Safari the text becomes a little lighter (as if transparency were applied to it).
Is there any way to fix this (remove this transparency in Safari)?
UPDATE:
Thanks for the answer. I no longer need this for my work (instead of disconnecting, I replace the input elements with stylized div elements), but I'm still wondering why this is happening and is there any way to control this behavior ...
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> input:disabled{ border:solid 1px #880000; background-color:#ffffff; color:#880000; } </style> </head> <body> <form action=""> <input type="text" value="disabled input box" disabled="disabled"/> </form> </body> </html>
html css safari iphone webkit
Incidently Nov 04. '08 at 15:26 2008-11-04 15:26
source share