I'm displaying a answerbox(s) on a map and now I want to be able to rotate some of them by X deg. Here's what works sans rotation.
-----------------------------
.answerbox { height: 38; /*Specify Height*/ width: 42px; /*Specify Width*/ border: 2px solid black; /*Add 1px solid border, use any color you want*/ background-color: #ffbbbb; /*Add a background color to the box*/ text-align:center; /*Align the text to the center*/ font-family: "Times New Roman", Times, serif; margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px; }
---------------
div class='answerbox; style='position: absolute; top: $y; left: $x;'
=====================
x, y and rotate comes from a mysql query and
div class='anserbox2fn; rotate=${rotate}deg, style='position: absolute; top: $y; left: $x;'
doesn't work nor does
div class='answerbox; style='position: absolute; top: $y; left: $x; transform: rotate=45deg'>
Thanks in advance
And I've tried several other variations without any luck.