I know it isn't valid html to have a style elements under the body element, but is there a way to get that to work? Below is a snippet of code to illustrate what i'm talking about. Prince by default will not apply the style for blue.
<html>
<head>
<style>
.red{color:#f00;}
</style>
</head>
<body>
<style>
.blue{color:#00f;}
</style>
<p>with <span class="red">red</span> and <span
class="blue">blue</span> text</p>
</body>
</html>