Jump to content

error en W3C validator


j_martin

Recommended Posts

Hola Buenas,

quería validar un error en el cógido de mi página:
Line 603, Column 137: document type does not allow element "link" here

…nge-Glossy/css/homefeatured.css" rel="stylesheet" type="text/css" media="all"/>



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).

Si no me equivoco esta línea debería estar colocada en index.php Pero cada vez que lo coloco se me descuadra la página entera. ¿Cuál es el error que estoy cometiendo?

Muchas gracias

Link to comment
Share on other sites

Si tienes que validar todos los módulos ....casi imposible con Prestashop a no ser que vayas modificando tienda y módulos, el error te lo da porque te dice según lo que has puesto que el código que imprime la css lo debes incluir en las cabeceras entre las etiquetas head, imagino que al ser un módulo lo carga donde está el módulo y no en la cabecera.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...