Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/06/2010, 03:07
4o4aestudiografico
 
Fecha de Ingreso: noviembre-2009
Mensajes: 11
Antigüedad: 14 años, 5 meses
Puntos: 0
Respuesta: Comentario para IE8

Por qué no pruebas a usar un selector en JavaScript? A mi me ahorra problemas...

Código:
<script language="JavaScript"> 
<!-- 
if(navigator.userAgent.match("Safari")) {
     document.write('<link href="css/estilo.css" rel="stylesheet" type="text/css" />');
}
if(navigator.userAgent.match("Firefox")) {
     document.write('<link href="css/mozilla.css" rel="stylesheet" type="text/css" />');
} 

if(navigator.userAgent.match("IE 8")) {
     document.write('<link href="css/ie8.css" rel="stylesheet" type="text/css" />');
} 


if(navigator.userAgent.match("IE 7")) {
     document.write('<link href="css/ie7.css" rel="stylesheet" type="text/css" />');
} 
//--> 
</script>

<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
Espero que te sirva!