Thanks guys. I will try the IE7 approach.
Martin Heiden wrote:
Brian,
I'm looking to add a simple background color to some form fields. all
of these fields happen to have the readonly="readonly" attribute
attached to them.
Without classing each input box, is there a way with css that works in
IE6 to target those inputs based on the readonly attribute?
No! Not without any JSMagic.
But with IE7 (http://dean.edwards.name/IE7/) and:
input[readonly] {
background-color: #ccc;
}
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/