Would something like this be in the ballpark?
I am sure there is a better way. Like creating some kind of array. I don't
know.
Glen
("#mycontainer div").each(function(i){
var oFontRule = $(this).css("font");
var oColorRule = $(".test").css("color");
var oPaddingRule = $(".test").css("padding");
etc etc etc for all the rules you want to have;
$(this).attr("style",oFontRule + ";" +
oColorRule + ";" + etc etc etc)
});
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/