Hi could some one show me how to do the following:
var regep = /margin-bottom:([^;]+); margin-left:0px; margin-right:0px; margin-top:([^;]+);/;
elementCSS = elementCSS.replace( regep , "margin-bottom:\\1; margin-left:auto; margin-right:auto; margin-top:\\2;");
\1 to = ([^;]+) (margin-bottom) and \2 to = ([^;]+) (margin-top)
?? Cant seem to figure it out..
Regards Phil