In IE7, this doesn't work on an <img> element (and possibly others, didn't test 
it):

        $(".pics").attr("style","border-style: solid; border-width: 1px; 
border-color: white;");

But this does work for IE7:

        
$(".pics").css("border-style","solid").css("border-width","1px").css("border-color","white");

Both work in FF2.  Is that the expected behavior in IE7?

I have an example written up both ways to illustrate.  Select one of the small 
images, its border should change to white:

You can see the working version here:

        <http://www.corry.biz/phototest/>

And the non-working version here (requires IE7):

        <http://www.corry.biz/phototest/phototest2.lasso>



- Bil


Reply via email to