Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/05/2010, 09:33
zannah
 
Fecha de Ingreso: marzo-2010
Ubicación: en camisas de once varas
Mensajes: 20
Antigüedad: 14 años, 1 mes
Puntos: 0
Problemas validacion XHTML

Buenas tardes :

estoy validando la web que estoy haciendo y el CSS pasa sin problemas y casi todo el XHTML pero en un par de páginas tengo puesto el siguiente IF para que elija si es IE o FF, ya que de uno a otro se ve distinta de narices.

<!--[if IE]>
<style type="text/css" media="screen">
<!--
@import url("../CSS/IE.css");
-->
<![endif]-->
<style type="text/css" media="screen">
<!--
@import url("../CSS/FF.css");
-->
</style>


El problema es que al validar estos me dice que hay errores y no se como solucionarlos... os pego un ejemplo para que veais.

Line 20, Column 2: character data is not allowed here
@import url("../CSS/FF.css");
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include:

•putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>), or
•forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes), or
•using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character. For more information about the reasons for this, see Empty elements in SGML, HTML, XML, and XHTML.


Line 22, Column 4: "endif" is not a reserved name
<![endif]-->


Me podeis echar una mano ... gracias!!!