Hi,
I have a class defined for text fields. I am using input[type="text"] for all browsers but IE6, and using jQuery to add a ".txt" class name for IE6. The problem here is when I define both selectors on the same line, IE6 does not reconize the ".txt" class. But if I define each selector seperately with the same rule it works.
This does not work in IE6
input[type="text"], .txt{ float:left; padding:0 0 0 2px; width:233px; height:24px; border:2px solid #bbb; color:#616161; font-family:Arial, Helvetica, sans-serif; font-size:1em; }
This does work in IE6
input[type="text"]{ float:left; padding:0 0 0 2px; width:233px; height:24px; border:2px solid #bbb; color:#616161; font-family:Arial, Helvetica, sans-serif; font-size:1em; }
.txt{ float:left; padding:0 0 0 2px; width:233px; height:24px; border:2px solid #bbb; color:#616161; font-family:Arial, Helvetica, sans-serif; font-size:1em; }
How can I define one single rule for both selectors on the same line?
Thx!