<html>
<head>
</head>
<body>
<div style="width:200px;height:100px;border:1px solid black; -moz-transform: rotate(45deg); -moz-transform-origin:100% 50%">
Some text!
</div>
</body>
</html>