Salve a tutti sto validando il codice del sito W3C e mi da errore su una riga di tag: <style type="text/css">
Sotto riepilogo 2 dati la parte inizale dell'index e poco sotto la riga di codice inquisita con il relativo tesot di errore.
Vi ringrazio per l'aiuto.
Spero sia la sezione corretta dove postare.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd (http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)">
<html xmlns="http://www.w3.org/1999/xhtml (http://www.w3.org/1999/xhtml)" lang="<?php echo _LANGUAGE; ?>" xml:lang="<?php echo _LANGUAGE; ?>">
.......
<?php if($this->countModules('left or right')) : ?>
<style type="text/css">
#main
{
width:500px;
}
</style>
<?php endif; ?>
document type does not allow element X here
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).Line 84 (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.d-studiospaziomusica.it%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=1&No200=1&verbose=1&st=1&user-agent=W3C_Validator%2F1.2#line-84), column 23: document type does not allow element "style" here<style type="text/css">