document type does not allow element "style" here

I am using drupal ( with the jRating-Module

This module puts the following lines into the html:

<script type="text/javascript">$("head").append("<style
	if ($.browser.safari){ $("head").find("style:last").append(" ")

The validator tells me:

Line 51, Column 71: document type does not allow element "style" here.


I can't see, what is wrong with the script. The developer of the module
tells me, that the script is ok.

I would be glad if anybody could tell me, it the script is incorrect or if
it's a bug in the validator.

Received on Thursday, 14 February 2008 17:45:47 UTC