Perfecto Hugo, eso mismo era. No me había percatado de que estaba poniendo la etiqueta de CSS fuera de las cabeceras. Salu2 -- ReynierPM 4to. Ing. Informática Linux User: #310201 El programador superhéroe aprende de compartir sus conocimientos. Es el referente de sus compañeros. Todo el mundo va a preguntarle y él, secretamente, lo fomenta porque es así como adquiere su legendaria sabiduría: escuchando ayudando a los demás...
> -----Mensaje original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] En nombre de Hugo A. Valencia > Enviado el: Monday, April 03, 2006 3:39 PM > Para: Ovillo, la lista de CSS en castellano > Asunto: Re: [Ovillo] Problemas validando XHTML > > Hola, > > El 3/04/06, Reynier Perez Mira<[EMAIL PROTECTED]> escribió: > > Hola a todos: > > Estuve pasando el código de mi documento XHTML por el > validador de la W3C y me retorna este error: > > > > .... > > Line 17 column 77: document type does not allow element "link" here. > > > > ..."all" rel="stylesheet" type="text/css" /> > > > > 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). > > .... > > > > Sabe alguien a que se refiere? > > > > Este es el documento que examine (solo hasta la etiqueta BODY): > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml"> > > <head id="C_THead1"> > > <title>Portal del Proyecto SIMPRO</title> > > > > <meta name="http-equiv" lang="en" > content="text/html charset=utf-8" /> > > <meta name="keywords" lang="en" content="simpro, > portal, realidad virtual, aplicaciones 3d, 3d studio, maya" /> > > <meta name="description" lang="en" content="Portal > dedicado al diseño y programación de entornos virtuales así > como al aprendizaje de programas relacionados con el mismo > como es el caso de 3D Studio Max, Maya, Blender u otros." /> > > <meta name="robots" lang="en" content="all" /> > > <meta name="author" lang="en" content="Reynier > Perez Mira" /> > > <meta name="subject" lang="en" content="Simuladores > y realidad > > virtual en la UCI" /> > > > > <meta name="generator" lang="en" content="Zend Studio 5.1.1 > > Client" /> > > > > </head> > > <!-- Estilos CSS --> > > <link href="css/simpro_ga.css" media="all" rel="stylesheet" > > type="text/css" /> <!--[if IE]> > > <link href="css/simpro_ie.css" media="all" rel="stylesheet" > > type="text/css" /> <![endif]--> <body> > > La hoja de estilos deben estar enlazada desde dentro de la > cabecera (head). > Si colocas el cierre de la baliza "head" justo antes de la > apertura del cuerpo (body), debería funcionarte mejor y no > tendría que darte al menos, el error señalado. > > Saludos. > > Hugo > > > > -- > Hugo A. Valencia > _______________________________________________ > Lista de distribución Ovillo > Para escribir a la lista, envia un correo a > Ovillo@lists.ovillo.org Puedes modificar tus datos o > desuscribirte en la siguiente dirección: > http://ovillo.org/mailman/listinfo/ovillo > _______________________________________________ Lista de distribución Ovillo Para escribir a la lista, envia un correo a Ovillo@lists.ovillo.org Puedes modificar tus datos o desuscribirte en la siguiente dirección: http://ovillo.org/mailman/listinfo/ovillo