[jQuery] attr(style: ) vs. css

2008-07-19 Thread Geir
Hi all! What's the difference between: 1. attr(style: "prop./val.") 2. css({prop./val.}) and 3. animate({prop.val.}, 0) Are all the changes set in the html inline-style? Thanks! Reference for my question: http://groups.google.com/group/jquery-en/browse_thread/thread/10ce43d5f882b642?hl=en

[jQuery] attr("style" vs css(

2007-05-09 Thread Bil Corry
In IE7, this doesn't work on an 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-c