HTML - problemas en la resolucion

 
Vista:

problemas en la resolucion

Publicado por Anna (3 intervenciones) el 10/08/2004 12:32:35
buenas estoy trabajando con dreamweaver y soy un poco pardilla en esto me podriais decir pq al poner el codigo siguiente no puedo ver la pagina sea en resolucion 800*600 o 1024*768 . Gracias

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function redireccionar(){
var url800x600="pagina5.html";
var url1024x768="pagina6.html";
if((screen.whith==800) && (screen.height==600))
window.location.href=url800x600;
else if((screen.whith==1024) && (screen.height==768))
window.location.href=url1024x768;
}
</script>
</head>
<body onLoad="redireccionar()">
</body>
</html>

en la pagina5.html solo tengo esto.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body background="7agost3.jpg" style="background-attachment:fixed;" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0" topmargin="0"></body>

</body>
</html>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder