Hello and welcome to Raphael!
I have been looking at Raphael for more than a few months and although the documentation is not very comprehensive the software is brilliant.
I have been mixing Divs with Raphael objects in many ways and have got a "feel" for what works and what does not work.
I am recommending that you do not try rotating divs but (instead) Raphael objects.
First of all you could make a shiney set of Raphael buttons using this "tweakable" code below..
var bcontrols= new Array();
var yheight=300;
for(var i = 0; i<3; i++)
{
bcontrols[i]=paper.circle(15+(35*i),yheight,15).attr({fill: "r(.5,.9)#39c-#036", stroke: "none"});
bcontrols[i].shine=paper.ellipse (15+(35*i),yheight,14,14).attr({fill:"r(.5,.1)#ccc-#ccc",stroke: "none", opacity: 0});
bcontrols[i].index=i;
bcontrols[i].shine.index=i;
bcontrols[i].shine.mouseover(function (e)
{
this.insertBefore(bcontrols[this.index]);
});
bcontrols[i].mouseout(function ()
{
this.insertBefore(bcontrols[this.index].shine);
});
/*Called from Raphael buttons*/
bcontrols[i].click(function ()
{
alert("Hello you just clicked "+this.index);
});
}
Next you need to know more about rotating Sets:
var s = paper.set();
s.push(paper.rect(10, 10, 30, 30, 10).attr({fill:'red'}));
s.push(paper.rect(50, 10, 30, 30, 5).attr({fill:'blue'}));
s.push(paper.rect(90, 10, 30, 30).attr({fill:'orange'}));
s.animate({rotation: "360 65 25"}, 2000);
This shows the degree of rotation and the centre of rotation of the "set" on the last line.
My additional Raphael resources website which aims to supplement documentation (Amongst other things):
http://www.irunmywebsite.com/raphael/raphaelsource.html
Heres where you can run the above 2 code examples without alteration:
http://raphaeljs.com/playground.html
I'm hoping this helped...