Sent by Bryce Fields on 9 September 2003 16:04
Steven 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."
Steven,
The <style> element is only allowed to be a child of the <head> element.
(X)HTML specs prohibit its use inside the <body> element.
Browsers may accept it there, but that doesn't make it valid. :)
Bryce Fields, Web Developer
Kentucky Virtual University (http://www.kyvu.org/)
"Do or do not. There is no try." -- Yoda
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/