Hola amigos de la lista, al tratar de validar mi página index en 
http://validator.w3.org/ me arroja un error debido al javascript que abre un 
pop up de contacto.
La linea en cuestion es:

// 
"window.open(this.href,'_blank','location=0,status=0,scrollbars=1,toolbar=0,menubar=0,width=470,height=310');return
false" 
href="index.php?action=contact_agent&amp;popup=yes&amp;agent_id=5">Contacto</a>
//

La descripción del error:

// 

You have used the attribute named above in your document, but the document 
type you are using does not support that attribute for this element. This 
error is often caused by incorrect use of the "Strict" document type with a 
document that uses frames (e.g. you must use the "Transitional" document 
type to get the "target" attribute), or by using vendor proprietary 
extensions such as "marginheight" (this is usually fixed by using CSS to 
achieve the desired effect instead). 

This error may also result if the element itself is not supported in the 
document type you are using, as an undefined element will have no supported 
attributes; in this case, see the element-undefined error message for 
further information. 

How to fix: check the spelling and case of the element and attribute, 
(Remember XHTML is all lower-case) and/or check that they are both allowed 
in the chosen document type, and/or use CSS instead of this attribute. //
 
Con mi mal ingles no alcanzo a comprender el error, pero entiendo que hace 
referencia al doctype que es el siguiente:
 
// ** <!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"; lang="es" xml:lang="es"> //
 
Alguna sugerencia?
 
Gracias por su Atención
 
domenor
_______________________________________________
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

Responder a