Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/05/2003, 05:54
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola, ct.

¿Te serviría algo parecido a esto?
Código PHP:
<html>

<
head>
<
script>
    
ancho=screen.width;
    if (
ancho<=800hoja='uno';
    else 
hoja='dos';
    
document.write("<link rel='stylesheet' href='"+hoja+".css' type='text/css'>");
</script>
</head>

<body>
Este texto se verá en color
</body>

</html> 
Saludos,