I mean that in Safari and Firefox, the code produces: <input id="testId" class="testClass" type="checkbox" style="border: 1px solid rgb(96, 32, 86); background-color: rgb(255, 0, 217); color: rgb(0, 0, 0); width: 123px;">
Whether there is a visual modification or not, Safari at least tells me that the background-color is what I set it to be. Firefox tells me it is white. I was simply wondering whether or not I should waste time trying to figure out a work-around or not. It sounds like this is just the way it is because that is how Firefox works. Yes? 2009/12/23 Šime Vidas <sime.vi...@gmail.com> > > > So, on Safari, the code for the checkbox passes. On Firefox, it does > not. > > Funny thing, the <input> element has a style for the background color, > but > > .css('background-color') is not returning the color I set. It is > returning > > rgb(255,255,255). > > > What do you mean by "in Safari the code passes" ? > From my own testing, setting a background-color on checkboxes has > visual effect only in IE and Opera... but not FF, Safari and Chrome. > > Also, what do you mean by "the input element has a style for the > background color" ? > -- John Arrowwood John (at) Irie (dash) Inc (dot) com John (at) Arrowwood Photography (dot) com John (at) Hanlons Razor (dot) com -- http://www.irie-inc.com/ http://arrowwood.blogspot.com/