Sent by David Kolar on 9 September 2003 16:04
S.D.Price wrote:
> Hi can anyone help I am trying to validate some XHTML code
> and all I get is
> Line 54, column 22: document type does not allow element "style" here.
>
> My CSS is in a <style> tag within the <body> of the document with the
> correct type attribute and I can't understand what the problem is. Can
> anyone see?
The <style> tag can only go in the <head> of a document, and not in the <body>, regardless of
whether you are using XHTML or HTML.
-David Kolar
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/