A simple example of what I'd like to achieve:
<body>
<div style="float:left;">
Hey, look to the right. There's my game!
</div>
<div id="mygame">
<script src="mygame/mygame.nocache.js"></script>
</div>
</body>
The problem is: the PlayN javascript appears to append the canvas comprising my game to the end of the DOM and reset the body attributes to match the canvas size. So the game always ends up at the bottom of the screen.
I suppose I could add some javascript to rearrange the layout after the canvas is loaded. Is it possible to have the canvas loaded into a specified element?