W3C home > Mailing lists > Public > www-validator@w3.org > February 2008

document type does not allow element "style" here

From: Jürgen Schmid <JueSchmid@t-online.de>
Date: Thu, 14 Feb 2008 13:17:08 +0100
To: <www-validator@w3.org>
Message-ID: <005001c86f03$852f3e30$6d7ba8c0@wxpjs004>

I am using drupal (www.drupal.org) 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:30:57 UTC